Java Flashcard 1

Java Flashcard 1

Assessment

Flashcard

Computers

6th - 8th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Is java case sensitive?

Media Image

Back

yes

2.

FLASHCARD QUESTION

Front

what is the main method?

Media Image

Back

entry point of a program with instructions for the program to carry out

3.

FLASHCARD QUESTION

Front

which of the following is the correct way to write a main method: main(){}; public void main(args[]){}; public void main(String[] args){}; public static void main(String[] args){}

Media Image

Back

public static void main(String[] args){}

4.

FLASHCARD QUESTION

Front

which is the correct way to print "hello world" to the screen.. Options: print("hello world");, System.print("hello world");, System.out.print(hello world);, System.out.print("hello world");

Media Image

Back

System.out.print("hello world");

5.

FLASHCARD QUESTION

Front

what does boolean return

Media Image

Back

true/false

6.

FLASHCARD QUESTION

Front

which of the following syntax is used for single line comments

Media Image

Back

//this is a comment

7.

FLASHCARD QUESTION

Front

which is used for a multi-line comment? Options: ***this is a multiline comment***, //this is a multiline comment, /*this is a multiline comment*/, >>this is a multiline comment

Media Image

Back

/*this is a multiline comment*/

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