Wednesday, October 14, 2015

How To Use Long Variable in Java Programming Language + video tutorial

How To Use Long Variable in Java Programming Language

The Following script is the simplest way to declaring and using Long variable in Java:

class UseLong{
 public static void main(String args[]){
  long x;
  x= 12345678L;
  System.out.println("your long variable : "+ x);
 }
}

you can see the output here:

ShadowOfBdg© - All rights reserved. 

No comments:

Post a Comment