Quiz based on must know concepts of Core Java covering almost all essential aspects of programming language.
Make sure you come out with flying colors :)
Passing: 70%
Time: 30 Minutes
True
False
Rate this question:
Yes
No
Rate this question:
True
False
Rate this question:
Synchronized
Abstract
Static
Final
Rate this question:
Inheritance
Abstraction
Poly Morphism
Encapsulation
Rate this question:
Anonymous inner class
Serialization
Threading
Collection
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
Finalize
ToString
Finally
Equals
Rate this question:
Runnable
Callable
Serializable
Clonable
Rate this question:
Abstract
Native
Final
Public
Rate this question:
For ( ; ; ;){}
For (int i = 0; i ++){}
For (int i = 0; i < 10; i--){ }
For (i < 10)
Rate this question:
Instanceof
InstanceOf()
Isinstanceof
IsInstance
Rate this question:
Instance variables live on heap
Local variables live on stack
Local variable and instance variables live on heap
Objects live on heap
Rate this question:
YavaYavaJavaJava
.YavaYavaJavaJava.
AvaYavaJavaJava
Www.YavaYavaJavaJava.com
Rate this question:
Have loose coupling but high cohesion
Have loose coupling and low cohesion
Have tight coupling and high cohesion
Have tight coupling but low cohesion
Rate this question:
A is a class and B is a class
A is a class and B is an interface
A is an interface and B is an interface
A is an interface and B is a class
Rate this question:
Native
Transient
Volatile
Strictfp
Rate this question:
Be overloaded
Be overriden
Not be overloaded
Not be overriden
Rate this question:
1.4
1.3
1.6
1.7
Rate this question:
ArrayList
TreeSet
TreeMap
TreeList
Rate this question:
String x = (i > 10) ? "Hello" : "World";
String x = (i > 10) : "Hello" ? "World";
String x = (i > 10) @ "Hi" : "Hello";
String x = (i > 10) = "World" ? "Hello";
Rate this question:
Animal is eating
Horse is eating
Animal and Horse are eating
Rate this question:
StringBuffer is slower than StringBuilder
StringBuffer is synchronized while StringBuilder is not
Strings are immutable objects
Always use StringBuffer instead of StringBuilder
Rate this question:
Two
One Two Three Default
One Two Three
Two Three Default
Rate this question:
Horse horse = new Horse();
Animal horse = new Animal();
Animal horse = new Horse();
Horse horse = new Animal();
Rate this question:
True
False
Rate this question:
Yes
No
Rate this question:
Sleep
Wait
Yield
Join
Rate this question:
NullPointerException
ArrayIndexOutOfBoundsException
IllegalStateException
FileNotFoundException
Rate this question:
5
4
6
1
Rate this question:
Implements RandomAccess (marker) interface
Is an ordered but unsorted collection
Is faster than vector
Does not allow duplicate elements
Rate this question:
Public static final getValue(){}
Public abstract getValue(){}
Public abstract getValue();
Public abstract final getValue();
Rate this question:
If X equals Y and Y equals Z then X equals Z
X.equals(null) will return false
Null.equals(x) will return false
Null.equals(x) will give NullPointerException
Rate this question:
Quiz Review Timeline (Updated): Feb 13, 2024 +
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.