⚔️ பலவடிவத் தன்மை
XP: 0/100
நிலை: தொடக்க நிலை குறியீட்டாளர்
🎮 பணி தொடக்கம்
நீங்கள் தேர்ச்சி பெறுவீர்கள்:
- பல்லுருத்தன்மை (OOP சக்தி)
- அல்காரிதம்கள் (சிக்கல் தீர்க்கும் தர்க்கம்)
🧠 Polymorphism Question 1
What is polymorphism?
Many forms of a method or object
Only one function exists
A type of loop
Only one function exists
A type of loop
💻 Code Understanding
What will this output?
class Animal {
void sound() { System.out.println(“Animal sound”); }
}
class Dog extends Animal {
void sound() { System.out.println(“Bark”); }
}
Which method runs?
Animal sound
Bark
Error
Bark
Error
⚙️ 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:
