Introduction to Java

Introduction to Java

University

25 Qs

quiz-placeholder

Similar activities

OOP - session 2.1 - JVM, Array, Stack

OOP - session 2.1 - JVM, Array, Stack

University

21 Qs

AP CSA Unit 2 Review

AP CSA Unit 2 Review

9th Grade - University

22 Qs

Java Programming

Java Programming

University

20 Qs

IF Pagi - Quiz 2

IF Pagi - Quiz 2

University

20 Qs

Java Quiz

Java Quiz

University

25 Qs

Javascript Basics

Javascript Basics

7th Grade - University

24 Qs

Computer Programming 1 Review

Computer Programming 1 Review

University

30 Qs

Java Fall Final Review

Java Fall Final Review

9th Grade - University

28 Qs

Introduction to Java

Introduction to Java

Assessment

Quiz

Computers

University

Medium

Used 601+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does a comment look like in Java?
//comment
\\comment
==comment
\comment

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A variable that holds a whole number
String
boolean
int
float

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A variable that holds words
String
boolean
int
float

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable that holds true or false
String
boolean
int
float

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A variable that holds a character
String
boolean
int
char

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the old name for Java Programming?

Java 2

Java

Oak

C++

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?