Search Header Logo
Introduction to Java

Introduction to Java

Assessment

Flashcard

Computers

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which of the following is a correct header line for main in a Java program? Options: public static void main(args), public static void main(String args), public static void main(args [ ]), public static void main(String [ ] args)

Back

public static void main(String [ ] args)

2.

FLASHCARD QUESTION

Front

What does a comment look like in Java?

Back

//comment

3.

FLASHCARD QUESTION

Front

A variable that holds a whole number

Back

int

4.

FLASHCARD QUESTION

Front

A variable that holds words

Back

String

5.

FLASHCARD QUESTION

Front

A variable that holds true or false

Back

boolean

6.

FLASHCARD QUESTION

Front

A variable that holds a character

Back

char

7.

FLASHCARD QUESTION

Front

What is the file extension for Java Source Code?

Back

.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?