Wednesday, October 14, 2015

How To Use Double Object in Java Programming Language + video tutorial

How To Use Double Object in Java Programming Language

The Following script is the simplest way to declaring and using Double object in Java:

class UseDouble{
  public static void main(String args[]){
    Double x = new Double(1.23456);

    System.out.println("your x value : "+ x);
  }
}

you can see the output here:

ShadowOfBdg© - All rights reserved. 

No comments:

Post a Comment