พหุ⚔️ สัณฐาน
ประสบการณ์: 0/100
ระดับ: โค้ดเดอร์มือใหม่
🎮 ภารกิจเริ่มต้น
คุณจะเชี่ยวชาญ:
- พหุสัณฐาน (อำนาจ OOP)
- อัลกอริทึม (ลอจิกการแก้ปัญหา)
พหุ🧠 สัณฐานคำถามที่ 1
พหุสัณฐานคืออะไร?
วิธีการหรือวัตถุหลายรูปแบบ
มีเพียงฟังก์ชันเดียวเท่านั้น
ประเภทของลูป
มีเพียงฟังก์ชันเดียวเท่านั้น
ประเภทของลูป
การทำความเข้าใจ💻รหัส
ผลลัพธ์นี้จะเป็นอย่างไร?
สัตว์คลาส {
void sound () {System.out.println (“ เสียงสัตว์ ”);}}
สุนัขคลาสขยายสัตว์ {
void sound () {System.out.println (“ Bark ”);}}
วิธีการใดที่ทำงาน?
เสียงสัตว์
เปลือกไม้
ข้อผิดพลาด
เปลือกไม้
ข้อผิดพลาด
⚙️ Algorithms Question 1
Which algorithm is fastest for large sorted lists?
Linear Search
Binary Search
Bubble Sort
Binary Search
Bubble Sort
🧩 Logic Challenge
What is the time complexity of this loop?
for (i = 0; i
O(1)
O(n)
O(n²)
O(n)
O(n²)
🏆 Final Boss
Which concept allows method overriding?
Polymorphism
Encapsulation
Compilation
Encapsulation
Compilation
🏆 Congratulations!
Enter your name:
