Introduction to Java

Introduction to Java

University

25 Qs

quiz-placeholder

Similar activities

AP CS A Quiz 01: Data Types & Variables

AP CS A Quiz 01: Data Types & Variables

Introduction to Java Programming

Introduction to Java Programming

Java 10/13

Java 10/13

CompSci I Quiz 10/16

CompSci I Quiz 10/16

Java Basics

Java Basics

Java Basics

Java Basics

Introduction to Java

Introduction to Java

Assessment

Quiz

Computers

University

Practice Problem

Medium

Used 605+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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++

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?