1. Which of the following is not a feature of OOP in Java?
- Encapsulation
- Inheritance
- Platform independence
- Polymorphism
2. What is the purpose of a constructor in Java?
- To destroy objects
- To initialize objects
- To call main method
- To create classes
3. Which keyword is used for inheritance in Java?
- implements
- import
- extends
- inherits
4. Which concept allows multiple methods with the same name but different parameters?
- Inheritance
- Polymorphism
- Encapsulation
- Abstraction
5. Which of the following is used to achieve abstraction in Java?
- Interface
- Class
- Object
- Method Overloading