getTime(): The getTime() method returns a date/time of the calendar in a Date object. Date objects are stored as an…
November 11th, 2009
What is the readLine() method of the Console class?
No Comments, Java Facts, by Daisy Williams.The readLine() method belongs to the Console class. This method is used to read a line of text from the…
September 14th, 2009
What will happen if we inherit an abstract class?
No Comments, Java Facts, by Daisy Williams.abstract class Ques0347A{ int x; int init(){ x = 15; return x; } abstract void disp(); } public class Ques0347…