Question 1: JAVA - Type Casting
What will happen in the following code?
Question 2: JAVA - Method Overloading
Which statement about method overloading is true?
Question 3: JAVA - String Concatenation
What will this code print?
Question 4: JAVA - Array Length
What will this code print?
Question 5: JAVA - Finally Block
What will be the output?
Question 6: JAVA - Set Characteristics
Which statement about `Set` is true?
Question 7: JAVA - Generic Method
Which syntax is correct for a generic method?
Question 8: JAVA - Functional Interface
Which annotation is used to mark a functional interface in Java?
Question 9: JAVA - Filter Operation
What will this code print?
Question 10: JAVA - Runnable Example
What will this code print?
Question 11: JAVA - if-else Statement
What will be the output of the code?
Question 12: JAVA - Method Overloading Example
What will the following code print?
Question 13: JAVA - String equals() vs ==
What will be the output?
Question 14: JAVA - Index Out of Bounds
What will happen in the code?
Question 15: JAVA - Multiple Catch Blocks
Which catch block order is correct?
Question 16: JAVA - Map Basics
Which statement is correct about `Map`?
Question 17: JAVA - Type Safety Example
What will happen in this code?
Question 18: JAVA - Lambda Example
What will this code print?
Question 19: JAVA - Map Operation
What will this code print?
Question 20: JAVA - Sleep Method
What does Thread.sleep(1000) do?