Java Basics

Java Basics

Professional Development

25 Qs

quiz-placeholder

Similar activities

3D Objects - Terms & Transfomations

3D Objects - Terms & Transfomations

6th Grade - Professional Development

20 Qs

ISIL Idioma Extranjero I

ISIL Idioma Extranjero I

12th Grade - Professional Development

20 Qs

Fundamentos y Algoritmia para Inteligencia Artificial

Fundamentos y Algoritmia para Inteligencia Artificial

Professional Development

20 Qs

DTA KBQ Janmashtami Special

DTA KBQ Janmashtami Special

Professional Development

20 Qs

Edukasi Rupiah Kepada PERBARINDO Tahun 2024

Edukasi Rupiah Kepada PERBARINDO Tahun 2024

Professional Development

20 Qs

IOT PERTEMUAN 1

IOT PERTEMUAN 1

Professional Development

20 Qs

NM-BIG DATA Course

NM-BIG DATA Course

Professional Development

20 Qs

Postes PKW

Postes PKW

Professional Development

20 Qs

Java Basics

Java Basics

Assessment

Quiz

Other, Computers

Professional Development

Practice Problem

Hard

Created by

SrinivasaRao SrinivasaRao

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

Media Image

Which four options describe the correct default values for array elements of the types indicated?

1, 2, 3, 4

1, 3, 4, 5

2, 4, 5, 6

3, 4, 5, 6

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of these lists contains only Java programming language keywords?

class, if, void, long, Int, continue

try, virtual, throw, final, volatile, transient

goto, instanceof, native, finally, default, throws

strictfp, constant, super, implements, do

byte, break, assert, switch, include

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which will legally declare, construct, and initialize an array?

int [] myList = {"1", "2", "3"};

int [] myList = (5, 8, 2);

int myList [] [] = {4,9,7,0};

int myList [] = {4, 3, 7};

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is a valid keyword in java?

interface

string

Float

unsigned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which three are legal array declarations?

2, 3, 4

2, 4, 5

1, 2, 4

All are correct.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which three are valid declarations of a float?

1, 2, 4

2, 3, 5

1, 3, 6

2, 4, 6

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the numerical range of a char?

-128 to 127

-(215) to (215) - 1

0 to 32767

0 to 65535

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?