Sec 8: Miscellaneous Questions
148) What are wrapper classes?
Wrapper classes are classes that allow primitive types to be accessed as objects.
149) What is a native method?
A native method is a method that is implemented in a language other than Java.
150) What is the purpose of the System class?
The purpose of the System class is to provide access to system resources.
151) What comes to mind when someone mentions a shallow copy in Java?
Object cloning.
152) What is singleton class?
Singleton class means that any given time only one instance of the class is present, in one JVM.
161) What is Locale?
A Locale object represents a specific geographical, political, or cultural region.
162) How will you load a specific locale?
By ResourceBundle.getBundle(?) method.
163) What is a JavaBean?
JavaBeans are reusable software components written in the Java programming language, designed to be manipulated visually by a software development environment, like JBuilder or VisualAge for Java.
164) Can RMI and Corba based applications interact?
Yes they can. RMI is available with IIOP as the transport protocol instead of JRMP.
Last updated