Java Basics

Java Basics

12th Grade

17 Qs

quiz-placeholder

Similar activities

Java Programming Basics

Java Programming Basics

12th Grade

17 Qs

JAVA FUNDAMENTALS

JAVA FUNDAMENTALS

9th - 12th Grade

20 Qs

Java Level 1 - A

Java Level 1 - A

12th Grade

15 Qs

Java Variables Quiz

Java Variables Quiz

11th - 12th Grade

12 Qs

Basics of JavaScript

Basics of JavaScript

11th Grade - Professional Development

15 Qs

AP CSA U1L01-03

AP CSA U1L01-03

11th - 12th Grade

18 Qs

GCSE Computer Science Data types

GCSE Computer Science Data types

10th - 12th Grade

18 Qs

Progamming - Java Syntax

Progamming - Java Syntax

11th - 12th Grade

15 Qs

Java Basics

Java Basics

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Anne Kohart

Used 2K+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the keyword "final" used for in Java?

identify a constant

identify an integer

identify a string

Identify a final answer

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The keyword "method" is another name for

an object

a class

a function

a variable

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Java was originally named:

Coffee

Oak

New C++

Duke

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a numeric data type

int

double

float

decimal

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is incorrect?

int count = 50.0;

int salary = 50_000;

int salary = 50_00;

all of these are incorrect

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The numeric type int uses how many bits?

31

32

63

64

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is an example of a reference variable declaration?

int count;

String name;

float gpa;

char firstInitial;

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?