Java Fundamentals_Array

Java Fundamentals_Array

Professional Development

20 Qs

quiz-placeholder

Similar activities

Java Review

Java Review

Professional Development

19 Qs

Auditing - Unit 1

Auditing - Unit 1

Professional Development

15 Qs

Post-test Collection Canvassing

Post-test Collection Canvassing

Professional Development

15 Qs

DesAppiOs UNIDAD2

DesAppiOs UNIDAD2

Professional Development

20 Qs

Evaluación Certificación BGI Chile

Evaluación Certificación BGI Chile

Professional Development

20 Qs

Pedagogik Teori Belajar

Pedagogik Teori Belajar

Professional Development

15 Qs

Entrepreneurship

Entrepreneurship

University - Professional Development

20 Qs

ISO and Quality

ISO and Quality

Professional Development

20 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