Search Header Logo

Java programming

Authored by Eleonor G.

Computers

Professional Development

Used 22+ times

Java programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

17 questions

Show all answers

1.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

Java statements: write the while loop, consider writing (expression) and {statements}

(a)  

2.

FILL IN THE BLANKS QUESTION

5 mins • 1 pt

Java statements: write the if else if statement, consider writing (expression) and {statements}

(a)  

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java String Methods:

LENGTH OF S

s.charAt(i)

s.length()

s.leght()

s.trim()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java String Methods:

search and replace s

s.toLow­erC­ase()

s.toUpp­erC­ase()

s.equals(s2)

s.replace(old, new)

5.

FILL IN THE BLANKS QUESTION

5 mins • 1 pt

Java String Methods:

search and replace of s, use the words old and new for the strings

(a)  

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java String Methods:

s.equals(s2)

what it returns?

true if s equals s2

false if s equals s2

cat

0 if equal

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Create a variable of type String:

remember-> the process of creating a variable is called declaration

string nameVariable:

String nameVariable;

int i;

long decimal = 2.4;

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

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

Already have an account?