Java is one of the most used programs by nerds and techs in the world today. If you are one of them, you know practice is key. This quiz helps you practice on it. All the best.
A.methods.
B.classes.
C.arguments.
D.both methods and classes.
Char
Long
Double
Float
True
False
False
True
True
False
Gc1
Gc2
Gc1 and gc2
GCTest3
Because it supports Object Oriented Concepts
Because it provides powerful exception handling mechanisms
Because it is Platform Independent
Because it supports Multi-threading
When GC occurs ,the thread where the collection occures should be interrupted.
Application suspended because of deadlock
Both A and B
None of the above
Set the size of Eden space relative to the size of a survivor space.
Set the size of the Young Generation as a ratio of the size of the Old Generation
Set the size of survivor space relative to the size of a Old Generation
None of the above.
System.gc();
Garbage colelction can't be forced
RunTime.gc();
System.gc() and RunTime.gc()
Wait!
Here's an interesting quiz for you.