START LEARNING
#1. What is the correct extension for Java source files?
#2. What is the output of a Java program compiled without errors?
#3. Which keyword is used to define a class in Java?
#4. What is the default value of a boolean in Java?
#5. Which of the following is not a Java keyword?
#6. Which method is the entry point for a Java program?
#7. Which data type is used to store decimal numbers in Java?
#8. What is the size of an int in Java?
#9. What is the correct way to declare an array in Java?
#10. Which of these is not a primitive data type in Java?
#11. How do you declare a constant variable in Java?
#12. What is the correct syntax for a for loop in Java?
#13. What does JVM stand for?
#14. Which operator is used for string concatenation in Java?
#15. What is the default value of a reference variable in Java?
#16. Which of these is a valid declaration of a char?
#17. Which keyword is used to inherit a class in Java?
#18. What is the purpose of the this keyword in Java?
#19. Which of these can be used to perform multiple inheritances in Java?
#20. What does the break keyword do in Java?
#21. What is the output of System.out.println(5 / 2);?
#22. Which of the following is a checked exception in Java?
#23. What is the purpose of the finalize() method in Java?
#24. Which method is used to start a thread in Java?
#25. What is the base class of all classes in Java?
#26. Which of these is not an access modifier in Java?
#27. Which keyword is used to declare a constant in Java?
#28. What does the super keyword refer to in Java?
#29. Which of these is the correct way to create an object in Java?
#30. What is a Java package?
#31. What does the static keyword indicate in Java?
#32. Which of these is a wrapper class in Java?
#33. Which method is used to compare strings in Java?
#34. Which of these is a marker interface in Java?
#35. What does the finally block do in Java?
#36. What is the default value of a String variable in Java?
#37. What is polymorphism in Java?
#38. Which of these is a reserved keyword in Java?
#39. What is the size of a long in Java?
#40. Which of the following is not an OOP concept in Java?
Previous
Finish
For More Information Visit : – India gk
Contact for website Design and development – Chaturbhuja Sons