Which of the following is NOT a valid access modifier in Java?
What is the purpose of the 'finally' block in a try-catch-finally statement?
Which data structure follows the Last-In, First-Out (LIFO) principle?
What is the purpose of the 'static' keyword in Java?
Which of the following is a correct way to create an object of a class named 'MyClass'?
What is the role of the Java Virtual Machine (JVM)?
Which of the following is an example of method overloading?
Which interface is used to implement the 'sort' method in Java?
What is the primary purpose of the 'garbage collector' in Java?
What is the difference between '==' and '.equals()' in Java?