Latest answer: The java runtime system can be accessed by the Runtime class. The runtime information – memory availability, invoking the garbage collector is possible by using Runtime class............
Read answer
2.What is the difference between a static and a non-static inner class?
Latest answer: Like static methods and static members are defined in a class, a class can also be static. To specify the static class, prefix the keyword ‘static’ before the keyword ‘class’...........
Read answer
3.What is the difference between the String and StringBuffer classes?
Latest answer: String class is immutable. The characters of string objects can not be changed / modified. StringBuffer is mutable. The characters of StringBuffer objects can be modified / changed..........
Read answer
4.What is the Dictionary class?
Latest answer: The Dictionary class is an abstract class. The class maps keys to values. The classes such as HashTable are the sub classes of the abstract class Dictionary. The key and values are objects. The key and value are non-null objects...............
Read answer
5.What is the ResourceBundle class?
Latest answer: A ResourceBundle is a group of related sub classes which are sharing the same base name. For example, ButtonLabel is the base name. All the characters following the base name indicates the following elements respectively...........
Read answer
6.What is the Vector class?
Latest answer: The Vector class implements an incremental array of objects.
The vector components can be accessed using an integer index.
The size of a Vector increases or decreases as needed to accommodate the items.........
Read answer
7.What is the SimpleTimeZone class?
Latest answer: SimpleTimeZone is a concrete subclass of TimeZone class. The TimeZone class represents a time zone, that is to be used with Gregorian calendar..........
Read answer
8.What is the purpose of the System class?
Latest answer: