SWT JFace Question:
Download Job Interview Questions and Answers PDF
Define Autoboxing with an example?
Answer:
The automatic conversion of primitive int type into a wrapper class object is called autoboxing. It does not require to type cast the int value. The modification of primitive wrapper objects is done directly. The following example illustrates autoboxing:
int number;
Integer intObject;
number = 1;
intObject = 2;
number = intObject;
intObject = number;
int number;
Integer intObject;
number = 1;
intObject = 2;
number = intObject;
intObject = number;
Download SWT JFace Interview Questions And Answers
PDF
Previous Question | Next Question |
What are the advantages offered by SWT/JFace? | Explain the Java Web Start technology? |