answersLogoWhite

0

What is Date class in java?

Updated: 8/11/2023
User Avatar

Wiki User

15y ago

Best Answer

i am management student,and want to know answer that ,what is date class in java?

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

Java is a programming language for computers. When programers use date class in a Java program it interprets the date as year, month, day, hour, minute, and second values.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is Date class in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

In regards to Java what does the date class do exactly?

With regards to Java, the date class represents a specific moment in time. It also allows this moment to be displayed as year, month, day, hour, minute and second.


Explanation of import javautilDate?

The import keyword in Java is used to tell the Java compiler where to find different classes and packages.java.util.Date is the location of the Date class: Date is a member of the util package, which is a member of the java package.


Extension file for Java?

Java source files have the .java extension, compiled Java class files have the .class extension.


The actions in a java class are called?

The actions in a java class are called methods.


Why you start java program by class?

without class non of the folder can run so the java program should start in class we can use the class without object in java


When java uses compiler?

What i know is java we will use compiler when it want to get class file(file with .class extension) from java file(file with .java extension).


How do you call main class with in main class in java?

We can't call a class. We always call a method in java.


What class begins java class hierarchy?

Class


The top most class in java?

All classes in java must inherit from the Object class


What is the way to get rid of Java lang no class deffound error?

To get rid of the Java lang no class deffound error, one must add the class or .jar file which contains this class into the Java classpath. When a Java class is run from the command line, one must add a dot (.)


Is there class name as object in java?

Yes, the base class for all other Java classes is Object.


What ananomus classes in java?

An Anonymous class in Java is one that does not have a name. It is usually created inside a class