Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Java: How to autobox and unbox.


public class AutoBox {
  public static void main(String args[]) {
    Integer obI = 150; // autobox "int"
    int i = obI; // auto-unbox  "int"
    System.out.println(i<span id="more-4"></span> + &quot; And &quot; + obI); 

Users who found this page were searching for:

  • autobox vs unbox
  • java autobox integer
  • autobox java
  • autobox in arraylist in java
  • autobox java
  • autobox in java
  • Auto Box function java
  • autobox java example
  • autobox jdk 6

No comments yet.

Leave a Comment