Found an easy method of doing it. Using System.currentTimeMillis();... Make two double variables to record the time. Subtract them and divide by 1000 to get the time. Thanks Junky for replying...
Type: Posts; User: Staticity
Found an easy method of doing it. Using System.currentTimeMillis();... Make two double variables to record the time. Subtract them and divide by 1000 to get the time. Thanks Junky for replying...
import java.util.Scanner;
public class main {
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
System.out.println("This program is built to generate 2...