COMPUTER INNOVATIONS
Wednesday, March 11, 2015
Convert short primitive to Short object in java
Convert short primitive to Short object
public class shortToShortExample
{
public static void main(String[] args)
{
short s = 10;
Short sObj = new Short(s);
System.out.println(sObj);
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment