Define Autoboxing with an example?
Submitted by: AdministratorThe 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;
Submitted by: Administrator
int number;
Integer intObject;
number = 1;
intObject = 2;
number = intObject;
intObject = number;
Submitted by: Administrator
Read Online SWT JFace Job Interview Questions And Answers
Top SWT JFace Questions
☺ | What is Dialog? |
☺ | Explain the steps used to deploy SWT/JFace-based application with Java Web Start? |
☺ | Explain the Java Web Start technology? |
☺ | Explain SWT and JFace? |
☺ | What are the advantages offered by SWT/JFace? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |