answersLogoWhite

0

What is boxing in Java?

Updated: 10/27/2022
User Avatar

Wiki User

14y ago

Best Answer

Boxing a value x is to put it in a class type rather than its primitive one.

Ex.

int x = 3;

Integer Ix = x; // boxing x

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is boxing in Java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you convert an int to object in java?

Java has auto-boxing introduced in Java 5 and converts ints to Integer objects as needed.Or you can explictly call Integer.valueOf(int) or new Integer(int) to return an Integer object with the value of the primitive int argument.Example:int i = 14; // i = 14Integer a = Integer.valueOf(i); // a = 14Integer b = new Integer(i); // b = 14or simplyInteger c = i;


Where boxing is played?

The area where a boxing fight is held is called a boxing ring.


Is there boxing on the Wii fit?

there isn't boxing there is rythm boxing. there is boxing on wii sports though


What Indonesian island is Jakarta on?

java


Does Visual Java plus plus and Java Builder is different from the Java language?

Yes!Visual Java plus plus and Java Builder is different from the Java language?


What is the difference between olympic boxing and professional boxing?

in Olympic boxing you were a head guard in professional boxing you dont


What are the different java technologies?

There are several types of Java technology. Some examples of Java software are Java ME, Java EE, Java SE, and Java Card. Java made the JAVA development kit for those that develop in Java. There is also Java Virtual machine and some class libraries. Java is also famous for its languages like Clojure, Beanshell, Groovy, Gosu, Rhino, Kotlin, JRuby, Scala, and Jython.


Where are some good boxing clubs in Edmonton?

West Edmonton Knights Boxing Club, The Avenue Boxing Club, Cougar Boxing Club, Panther Gym Boxing Club, Wind Warriors Boxing Club, Main Event Boxing Club


Small Java-based programs are called?

Java applets


Analogy - Rink is to ring as hockey is to?

boxing, because hockey is played in a rink and boxing is played in a ring


Differences between Java Applet and Java Beans?

Java applet is a program used to run java applications while beans is a compiler used to design java programs (IDE, GUI) :-) GilbertC


Who create Java and when?

Who create Java & when? Why he create java ? What are mane functions of it?