Java Basics question class 9 mci

Java Basics question class 9 mci

Assessment

Quiz

Computers

9th - 10th Grade

Practice Problem

Medium

Created by

Vivek Chamaria

Used 48+ times

FREE Resource

Student preview

quiz-placeholder

68 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;

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?