Java Fundamentals_Array

Java Fundamentals_Array

Professional Development

20 Qs

quiz-placeholder

Similar activities

PSC Quiz1

PSC Quiz1

University - Professional Development

20 Qs

Fruits and Vegetables (EFL for Restaurant Staff)

Fruits and Vegetables (EFL for Restaurant Staff)

Professional Development

20 Qs

SCMOC 0306 Commercial Procurement

SCMOC 0306 Commercial Procurement

Professional Development

19 Qs

2.- TEORÍA DE NAVEGACIÓN

2.- TEORÍA DE NAVEGACIÓN

Professional Development

15 Qs

Time and Tense 24 May

Time and Tense 24 May

Professional Development

20 Qs

Class 6 Review

Class 6 Review

Professional Development

15 Qs

Microsoft Excel

Microsoft Excel

3rd Grade - Professional Development

22 Qs

Java Fundamentals_Array

Java Fundamentals_Array

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Hard

Created by

kowshika arumugham

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a Java features?

Dynamic

Architecture Neutral

Object-oriented

Use of pointers

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the extension of java code files?

.class

.txt

.java

.js

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Predict the Output

10

Compilation Error

Run time Error

11

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid declaration of an object of class Box?

Box obj = new Box;

Box obj = new Box();

obj = new Box();

new Box obj

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the type of variable ‘b’ and ‘d’ in the following Java snippet?

int a[], b;

int []c, d;

Both are int

Both are array

'b' is int and 'd' is array

'b' is array and 'd' is int

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an incorrect array declaration?

int arr[] = new int[5];

int [] arr = new int[5];

int arr[] = int [5] new;

int[] arr={1,2,3,4,5};

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you determine the number of elements in an array?

int buses[] = new int[5];

buses.length

buses.length()

buses.size

buses.size()

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?

Discover more resources for Professional Development