Search Header Logo

JAVA BASIC 2

Computers

University

Used 23+ times

JAVA BASIC 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What format do I use to print words in JAVA?

System.out.println("Words");
System.out.println(True);
System.out.println(words);
System.out.println('Character');

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do I print out numbers on JAVA?

System.out.println(#);
System.out.println("#");
System.out.println('#');
System.out.println(false);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are booleans in JAVA?

True or False statements
A way to lean the coding to one side.
A way to write numbers.
They are the proper way of writing code.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When I set a variable, all commands should end with what?

?
:
;
" "

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do I insert a multi-line comment?

/* Comment */
? Comment ?
Comment **
-Java Comment-

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Does white-space effect the coding in JAVA?

Yes
No 
Sometimes

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which is the correct Java code to display the phrase "Java!"?

System.Out.Print("Java!");

System.Out.print("Java!");

System.out.Print("Java!");

System.out.print("Java!");

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

Already have an account?