web analytics

Category: Java

Date method in Java

Below are different classes for date in Java. how to get the current date and time. Create a  Date :  Date  d =  new  date (); Get its value:  String  s = d.toString (); Obtain an object that allows executing calculations...

Create a file in Java and write in it

In this post i will explain how to create a file and write in that file using JAVA language. First step we must create a file, in this case we create a txt :....

error: Content is protected !!