Java Fundamentals_Array

Java Fundamentals_Array

Professional Development

20 Qs

quiz-placeholder

Similar activities

Sorting

Sorting

Professional Development

15 Qs

Autocad - Quiz 01

Autocad - Quiz 01

Professional Development

15 Qs

Tutorial 1 Chapter 4 C Programming

Tutorial 1 Chapter 4 C Programming

Professional Development

15 Qs

Arrays & Strings using C

Arrays & Strings using C

Professional Development

15 Qs

DATA TYPES ,INPUT AND OUTPUT

DATA TYPES ,INPUT AND OUTPUT

Professional Development

25 Qs

C Operators

C Operators

University - Professional Development

15 Qs

Data Structure Quiz - 1

Data Structure Quiz - 1

Professional Development

20 Qs

C Structure & Union Quiz

C Structure & Union Quiz

Professional Development

15 Qs

Java Fundamentals_Array

Java Fundamentals_Array

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

kowshika arumugham

Used 3+ times

FREE Resource

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()

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?