How To Use Date Object in Java Programming Language
The Following script is the simplest way to declaring and using Date object in Java:
class UseIntegerObject{
public static void main(String args[]){
Date x = new Date ();
System.out.println("Value of x as a date variable : "+ 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