Important Java Mcq 1

How to format date from one form to another?

a) SimpleDateFormat

b) DateFormat

c) SimpleFormat

d) DateConverte

Answer:

a) SimpleDateFormat

Explanation:

We can use the SimpleDateFormat function in java to do this! So, option A is correct.

Related MCQs

Object-oriented inheritance models the

a. “is a kind of” relationship b. “has a” relationship c. “want to be” relationship d. “contains” of relationship Answer: a. “is a kind of”

Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?