Computer Science, asked by TbiaSamishta, 11 months ago

What type of value is returned when we use get method of Calendar class with constant DAY_OF_WEEK as an argument ?(a) int (b) char (c) String (d) boolean

Answers

Answered by aqibkincsem
12

The value used is int.


Calendar is an abstract base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, and so on.


(A Date object represents a specific instant in time with millisecond precision.

Subclasses of Calendar interpret a Date according to the rules of a specific calendar system.

Similar questions