Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
Core Java - Interview Questions and Answers for 'Calendar' - 5 question(s) found - Order By Rating | ||||
| ||||
Ans. No. It gives the error "Cannot Instantiate the type Calendar". Calendar is an abstract class and hence Calendar object should be instantiated using Calendar.getInstance(). | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   date   calendar   abstract class   yes-no | ||||
| ||||
Ans. Date is not a abstract class whereas Calendar is. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   date   calendar   abstract class | ||||
| ||||
Ans. Date and Time after 5 months from now. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   date   calendar   scjp   ocjp   coding   code | ||||
| ||||
Ans. http://www.buggybread.com/2015/02/java-util-calendar-classes-and.html | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   util   java.util   calendar | ||||
| ||||
Ans. This class provides support for traditional Western calendars. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  GregorianCalendar   Calendar   util   core java   rare | ||||