answersLogoWhite

0

How might one use the java subclass SimpleDateFormat?

Updated: 8/20/2019
User Avatar

Wiki User

10y ago

Best Answer

One might use the Java subclass "SimpleDateFormat" when programming a Java application that needs to display the date. This would be then be used to show the user the current date in real time.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How might one use the java subclass SimpleDateFormat?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the alternatives to inheritence in java?

Java does not support multiple inheritance; a subclass cannot have more than one parent. Java compensates for this with interfaces. A class can implement multiple interfaces, but can only extend one class.


What is the difference between a specialization hierarchies and specialization lattices?

Specialization Hierarchy - has the constraint that every subclass participates asa subclass in only one class/subclass relationship, i.e. that each subclass hasonly one parent. This results in a tree structure.Specialization Lattice - has the constraint that a subclass can be a subclass of morethan one class/subclass relationship.


Where can one download Java SE 6?

There are many places one might go to download a copy of Java SE 6 software. In addition to the official Java website, one might also try the CNET website.


What is fix in java?

fixed method means is one which cannot be overridden by a subclass. A fixed method can be declared by prefixing the word-final before a method. We can use the keyword final to donate a constant.


Why might one need a sting array object in Java?

One might need a sting array object in Java to use protective measures on one's computer to prevent one's program from writing outside the bounds of the array.


What is a Java scanner used for?

A Java Scanner is used for reading and producing several types of computer values. Using Java Scanners helps one easily read user input. There is a free course one might take to get better acquainted with Java Scanners provided by Java.


What is sub class in Java?

A sub class is paired up with its super class. These can also be called a child and parent class.The subclass will inherit all of the variables and methods from its superclass. And one superclass can have multiple subclasses, but a subclass can only have one superclass.Here's an example:public class childName extends parentName {...}This means that childName will inherit everything from its superclass, which is parentName.The advantage of this inheritance is that you do not need to copy/paste lots of code for many similar subclasses, and if you want to change something you only need to make one change in the superclass.


What is concrete class in java?

A method which is not abstract i.e. if a methods definition is given in the same class its declared is called concrete. where as abstract method would have no definition till the deep down of the hierarchy of class structure but ll ve a declaration in all the subclasses and definition in one subclass after which it need not be declared in the further subclasses. By the way defining the abstract method in a subclass would end the carrying of the declaration till down, but defining it is not mandatory where declaring is mandatory.


Where can one find java plugin downloads?

There are several sites online where one can download the Java plugin such as Java, Oracle, Cnet, and Microsoft. One can find their current version of Java by visiting the Java Tester website.


What is generalization in dbms?

Generalization defines a is-a-kind of relationship in which one class shares its structure and/or behavior with one or more other classes. The concept of generalization in UML is similar to inheritance in Java. It maps directly to the extends keyword. It is shown by a straight line originating from the subclass with a hollow arrowhead pointing at the nearest superclass.


Where might one download a Java Runtime Environment program?

Java Runtime Environment can be downloaded free from Java website. The program does allow you to use various applications such as games on your computer. It is easy and all the instructions are provided once you have clicked on the download button.


What are the feature's of the Java 'this' installation package?

The Java 'this' installation package allows one to create installation programs for their Java based applications. One can download the program from Java.