How To Use Integer Object in Java Programming Language
The Following script is the simplest way to declaring and using Integer Object in Java:
class UseIntegerObject{
public static void main(String args[]){
Integer x = new Integer(100);
System.out.println("your x value : "+ x);
}
}
you can see the output here:
ShadowOfBdg© - All rights reserved.
you can see the output here:
ShadowOfBdg© - All rights reserved.
No comments:
Post a Comment