This Java Quiz tests general knowledge in Java programming, covering topics like data types, access modifiers, OOP concepts, and applets. It assesses key skills for understanding Java's fundamental principles and its application in web browsers, suitable for learners aiming to enhance their programming skills.
8 bit
16 bit
32 bit
64 bit
Rate this question:
''
""
Null
Not defined
Rate this question:
Variables, methods and constructors which are declared public can be accessed by any class.
Variables, methods and constructors which are declared public can be accessed by any class lying in same package.
Variables, methods and constructors which are declared public in the superclass can be accessed only by its child class.
None of the above.
Rate this question:
Abstraction is a technique to define different methods of same type.
Abstraction is the ability of an object to take on many forms.
It refers to the ability to make a class abstract in OOP.
None of the above.
Rate this question:
An applet is a Java program that runs in a Web browser.
Applet is a standalone java program.
Applet is a tool.
Applet is a run time environment.
Rate this question:
A NullPointerException is thrown when calling the instance method of a null object or modifying/accessing field of a null object.
A NullPointerException is thrown when object is set as null.
A NullPointerException is thrown when object property is set as null.
None of the above.
Rate this question:
Thread returns to the ready state.
Thread returns to the waiting state.
Thread starts running.
None of the above.
Rate this question:
True
False
Rate this question:
Serializable
Comparable
Cloneable
None of the above. Show Answer
Rate this question:
Quiz Review Timeline (Updated): Mar 22, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.