Java Regular Expressions

Java Regular Expressions

Professional Development

20 Qs

quiz-placeholder

Similar activities

ORIENTALISM 101

ORIENTALISM 101

University - Professional Development

20 Qs

Verification

Verification

Professional Development

16 Qs

Achdi - Asking and Offering Help - Summative Test

Achdi - Asking and Offering Help - Summative Test

12th Grade - Professional Development

20 Qs

U13: You are vocabulary master... or not?

U13: You are vocabulary master... or not?

Professional Development

19 Qs

TRANSLATION STUDIES

TRANSLATION STUDIES

Professional Development

20 Qs

English revision

English revision

University - Professional Development

16 Qs

OM_SBENT3C_Q2

OM_SBENT3C_Q2

University - Professional Development

15 Qs

Level test

Level test

KG - Professional Development

20 Qs

Java Regular Expressions

Java Regular Expressions

Assessment

Quiz

English

Professional Development

Practice Problem

Hard

Created by

ANIL KUMAR

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these package is used for text formatting in Java programming language?

java.text
java.awt
java.awt.text
java.io

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of this class can be used to format dates and times?

Date
SimpleDate
DateFormat
textFormat

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these method returns an instance of DateFormat that can format time information?

getTime()
getTimeInstance()
getTimeDateinstance()
getDateFormatinstance()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these class allows us to define our own formatting pattern for dates and time?

DefinedDateFormat
SimpleDateFormat
ComplexDateFormat
UsersDateFormat

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these formatting strings of SimpleDateFormat class is used to print AM or PM in time?

a
b
c
d

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these formatting strings of SimpleDateFormat class is used to print week of the year?

w
W
s
S

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Java program?

Online Java Compiler - Google Chrome (gyazo.com)

Note : The program is executed at 3 hour 55 minutes and 4 sec (24 hours time).

03:55:04

3.55.4

2 days, 7:03:04

03:55:04

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?