Question
a.
Date
b.
SimpleDate
c.
DateFormat
d.
textFormat
Posted under Java Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of this class can be used to format dates and times?
Similar Questions
Discover Related MCQs
Q. Which of these method returns an instance of DateFormat that can format time information?
View solution
Q. Which of these class allows us to define our own formatting pattern for dates and time?
View solution
Q. Which of these formatting strings of SimpleDateFormat class is used to print AM or PM in time?
View solution
Q. Which of these formatting strings of SimpleDateFormat class is used to print week of the year?
View solution
Q. Which of the following is not a class of java.util.regex?
View solution
Q. What is the significance of Matcher class for regular expression in java?
View solution
Q. Object of which class is used to compile regular expression?
View solution
Q. Which capturing group can represent the entire expression?
View solution
Q. groupCount reports a total number of Capturing groups.
View solution
Q. Which of the following matches nonword character using regular expression in java?
View solution
Q. Which of the following matches end of the string using regular expression in java?
View solution
Q. What does public int end(int group) return?
View solution
Q. What does public String replaceAll(string replace) do?
View solution
Q. What does public int start() return?
View solution
Q. Which of the following is not introduced with Java 8?
View solution
Q. What is the purpose of BooleanSupplier function interface?
View solution
Q. What is the return type of lambda expression?
View solution
Q. Which is the new method introduced in java 8 to iterate over a collection?
View solution
Q. What are the two types of Streams offered by java 8?
View solution
Q. Which method is used to create a directory with fileattributes?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!