Hello World Flashcards

1
Q

System.out.println()

A

can print to the console

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

______is a class from the core library provided by Java

A

System

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

___ is an object that controls the output

A

Out

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are comments?

A

Comments are bits of text that are ignored by the compiler. They are used to increase the readability of a program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Single line comments are created by using

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Multi-line comments are created by starting with

A

/and ending with/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

”.”

A

is an operator that invokes or calls an object from a method with () or a class without

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

println

A

is an object that prints and terminates the line “print” can also print but won’t terminate the line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly