- ตัวดำเนินการ
-
เรียนรู้
เรียน Python ตัวอย่างที่รันได้, NumPy, pandas และอื่น ๆ เรียน AI / Machine Learningโครงข่ายประสาท ML และ LLM ตั้งแต่ศูนย์ เรียน C และ C++ พอยน์เตอร์ หน่วยความจำ STL และ C++ สมัยใหม่ เรียน C#พื้นฐาน C#, OOP, LINQ, async และแบบฝึกหัด .NET เรียน Matplotlibกราฟเส้น แท่ง กระจาย และวงกลม พร้อมตัวแสดงภาพแบบโต้ตอบ เรียน RustOwnership, trait, การจัดการข้อผิดพลาด และ thread เรียน GoSlice, interface, goroutine และ channel อัลกอริทึม Python การค้นหา การเรียงลำดับ รีเคอร์ชัน และภาพจำลอง O(n) อัลกอริทึม C และ C++ เปรียบเทียบการเขียนด้วย C และ C++ เขียนโปรแกรมสำหรับเด็ก เรียนเขียนโปรแกรมผ่านการเล่น!
- ควิซใหม่
- โจทย์ใหม่
- สำหรับครูใหม่
- อัปเดต
- เลี้ยงกาแฟสักแก้ว
ควิซ Java
ควิซ Java 30 ชุด รวม 300 ข้อแบบปรนัย ตั้งแต่ง่ายถึงยาก ทุกคำตอบมีคำอธิบาย
30 ควิซ · 300 ข้อ
6 หมวด
Java 17
หมวดของ Java
4 ง่าย1 ปานกลาง
Primitives & Variables
Operators & Integer Division
Strings & String Methods
+2
ผ่าน 0 จาก 5
เริ่ม
1 ง่าย3 ปานกลาง1 ยาก
Classes & Constructors
static & final
Inheritance & Polymorphism
+2
ผ่าน 0 จาก 5
เริ่ม
2 ง่าย2 ปานกลาง1 ยาก
String Pool & Immutability
StringBuilder
Arrays
+2
ผ่าน 0 จาก 5
เริ่ม
1 ง่าย3 ปานกลาง1 ยาก
ArrayList
HashMap
HashSet
+2
ผ่าน 0 จาก 5
เริ่ม
4 ปานกลาง1 ยาก
Checked vs Unchecked Exceptions
try, catch & finally
Generics
+2
ผ่าน 0 จาก 5
เริ่ม
2 ปานกลาง3 ยาก
Output-Based Java Questions
Is Java Pass by Value?
Tricky Java Questions
+2
ผ่าน 0 จาก 5
เริ่ม
ควิซที่ตรงกัน
1
Primitives & Variables
ง่าย
Check how Java stores numbers, characters and booleans in its primitive types.
Java · Java Basics
#types#variables
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
2
Operators & Integer Division
ง่าย
Predict what Java's arithmetic, increment and logical operators really produce.
Java · Java Basics
#operators#arithmetic
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
3
Strings & String Methods
ง่าย
Check how Java strings compare, slice and behave as immutable objects.
Java · Java Basics
#strings#string-methods
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
4
Type Casting
ปานกลาง
Know when Java converts types for you, when you need a cast and what a cast can lose.
Java · Java Basics
#casting#types
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
5
if, switch & Loops
ง่าย
Trace Java's if statements, switch and loops and predict what they print.
Java · Java Basics
#loops#conditions
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
1
Classes & Constructors
ง่าย
Check how Java creates objects, runs constructors and shares references.
Java · Object-Oriented Java
#oop#classes
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
2
static & final
ปานกลาง
Know what belongs to the class, what belongs to each object and what can never change.
Java · Object-Oriented Java
#oop#static
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
3
Inheritance & Polymorphism
ปานกลาง
Predict which method runs when a subclass hides behind a parent reference.
Java · Object-Oriented Java
#oop#inheritance#polymorphism
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
4
Abstract Classes & Interfaces
ปานกลาง
Know when to use an abstract class, when to use an interface and what each one allows.
Java · Object-Oriented Java
#oop#interfaces#abstract-classes
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
5
equals() & hashCode()
ยาก
Master the equals/hashCode contract and the HashSet and HashMap bugs that break it.
Java · Object-Oriented Java
#oop#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
1
String Pool & Immutability
ปานกลาง
Know when two Java strings are the same object, why
== lies and why strings never change.
Java · Strings, Arrays & Wrappers
#strings#interview
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
2
StringBuilder
ง่าย
Build and edit text efficiently with Java's mutable StringBuilder.
Java · Strings, Arrays & Wrappers
#strings#stringbuilder
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
3
Arrays
ง่าย
Create, read, copy and compare Java arrays without the usual beginner surprises.
Java · Strings, Arrays & Wrappers
#arrays#references
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
4
Autoboxing & Wrapper Classes
ยาก
Catch the Integer cache, null unboxing and other autoboxing traps before they reach production.
Java · Strings, Arrays & Wrappers
#wrappers#gotchas
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
5
Method Overloading
ปานกลาง
Predict which overloaded Java method gets called with widening, boxing, varargs and null.
Java · Strings, Arrays & Wrappers
#methods#overloading
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
1
ArrayList
ง่าย
Add, read, replace and remove elements in a Java ArrayList and avoid the immutable-list traps.
Java · Java Collections
#collections#list
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
2
HashMap
ปานกลาง
Store, update and look up key-value pairs in a Java HashMap and avoid the null and hashCode traps.
Java · Java Collections
#collections#map
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
3
HashSet
ปานกลาง
Keep unique values in Java sets and understand how equals and hashCode decide what a duplicate is.
Java · Java Collections
#collections#set
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
4
Iterators & ConcurrentModificationException
ยาก
Remove elements while looping without ConcurrentModificationException, skipped items or surprises.
Java · Java Collections
#collections#gotchas
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
5
Comparable & Comparator
ปานกลาง
Sort Java objects by natural order or custom rules with Comparable, Comparator and its helper methods.
Java · Java Collections
#sorting#comparator
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
1
Checked vs Unchecked Exceptions
ปานกลาง
Know which Java exceptions the compiler forces you to handle and which ones it lets through.
Java · Exceptions & Modern Java
#exceptions#checked-exceptions
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
2
try, catch & finally
ปานกลาง
Trace exactly what runs, and in which order, when Java code throws, catches and cleans up.
Java · Exceptions & Modern Java
#exceptions#finally
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
3
Generics
ยาก
Get past the tricky parts of Java generics, from type erasure to wildcards and raw types.
Java · Exceptions & Modern Java
#generics#type-safety
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
4
Lambdas & Streams
ปานกลาง
Read and predict Java stream pipelines, from filter and map to collectors and laziness.
Java · Exceptions & Modern Java
#streams#lambdas
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
5
Records, var & switch Expressions
ปานกลาง
Check your Java 17 basics with records, local variable type inference and the new switch.
Java · Exceptions & Modern Java
#modern-java#records
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
1
Output-Based Java Questions
ปานกลาง
Predict what short Java programs print, the way interview screens and written tests ask it.
Java · Java Interview Questions
#output-prediction#interview
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
2
Is Java Pass by Value?
ยาก
Settle the classic interview question with code that shows what a method can and cannot change.
Java · Java Interview Questions
#interview#references
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
3
Tricky Java Questions
ยาก
Real Java gotchas from interviews, each one a short program that does not do what it seems to.
Java · Java Interview Questions
#gotchas#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
4
Static vs Instance
ปานกลาง
Know what belongs to the class and what belongs to each object, a favorite Java interview topic.
Java · Java Interview Questions
#oop#interview
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
5
Java: Find the Bug
ยาก
Spot the bug in short Java programs that compile fine but do the wrong thing.
Java · Java Interview Questions
#debugging#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
ไม่พบควิซที่ตรงกัน ลองคำหรือแท็กอื่นดู
ยอดนิยมสัปดาห์นี้
- 1 Type Casting ปานกลางJava Basics#casting#types
- 2 static & final ปานกลางObject-Oriented Java#oop#static
- 3 Inheritance & Polymorphism ปานกลางObject-Oriented Java#oop#inheritance#polymorphism
- 4 Abstract Classes & Interfaces ปานกลางObject-Oriented Java#oop#interfaces#abstract-classes
- 5 String Pool & Immutability ปานกลางStrings, Arrays & Wrappers#strings#interview