getTime(): The getTime() method returns a date/time of the calendar in a Date object. Date objects are stored as an…
November 23rd, 2009
What will be the output of the following program code?
No Comments, Java Questions, by Daisy Williams.class Ques0357{ public static void main(String[] argv){ int s = 2; switch (s) { case 1: System.out.println(“Fred”); break; case 2:…