Menu
Question Index
...

/*    Insert Line    */
public class Execute {
    public static void main(String[] args) {
        Date d = new Date();
    }
}
Which of the following package will help to the above program that compiles without error?


import java.lang.Date;
import java.text.Date;
import java.io.Date;
import java.util.Date;

Doubts

Problems

Topic: Java Date Class

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App