Home > Java Programming > Quizzes > Java Basics Practice Test:  Java Environment & OOPS Concepts
Java Basics Practice Test:  Java Environment & OOPS Concepts
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 0% Most missed: “Which component is responsible for converting bytecode into machine specific cod…”
Quiz on OOPS concepts, JDK, JRE, JIT AND JVM, polymorphism, encapsulation and java buzzwords. Here are the main OOP concepts in Java: Encapsulation: Encapsulation is the process of binding data and the code that works on that data together. This prevents accidental changes to the data. In Java, encapsulation is achieved by using classes and objects. A class is a blueprint for creating objects, and an object is an instance of a class. Classes can contain data members (variables) and methods (functions). Data members are used to store data, and methods are used to perform operations on that... Show more
Java Basics Practice Test:  Java Environment & OOPS Concepts
Time left 00:00
20 Questions

1. Method overriding is combination of inheritance and polymorphism?
2. Which component is responsible to optimize bytecode to machine code?
3. What is the extension of compiled java classes?
4. Which component is used to compile, debug and execute java program?
5. Which component is responsible to run java program?
6. Which of the following is a type of polymorphism in Java?
7. Which concept of Java is a way of converting real world objects in terms of class?
8. Method overriding is combination of inheritance and polymorphism?
9. Which component is responsible for converting bytecode into machine specific code?
10. Which statement is true about java?
11. What is it called if an object has its own lifecycle and there is no owner?
12. Which component is responsible for converting bytecode into machine specific code?
13. Which of the following is not OOPS concept in Java?
14. Which component is responsible to run java program?
15. How can we identify whether a compilation unit is class or interface from a .class file?
16. Which of the below is invalid identifier with the main method?
17. What is it called where child object gets killed if parent object is killed?
18. What is it called where object has its own lifecycle and child object cannot belong to another parent object?
19. What is it called where object has its own lifecycle and child object cannot belong to another parent object?
20. Which concept of Java is a way of converting real world objects in terms of class?