SCJP Certification

Sun Certified Java Programmer Certification exam essentials

Posts Tagged ‘questions’

November 27th, 2009

What are the getTime() and setTime() method?

No Comments, Java Facts, by Daisy Williams.

getTime(): The getTime() method returns a date/time of the calendar in a Date object. Date objects are stored as an…

Share

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:…

Share