Search Header Logo

Strings in Java

Authored by Jamunadevi T

Computers

University

Used 2+ times

Strings in Java
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_________ are a sequence of characters.

Character

Strings

Integer

Classes

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 In Java programming language, strings are treated as objects.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The String class is?

mutable

immutable

Both A and B

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Methods used to obtain information about an object are known as?

string methods

class methods

object method

accessor methods

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 Which methods to print output with formatted numbers?

printf()

format()

formatted()

Both A and B

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Computers