
Java Fundamentals_Array

Quiz
•
Professional Development
•
Professional Development
•
Hard
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
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
Similar Resources on Wayground
20 questions
DIGITAL ELECTRONICS

Quiz
•
Professional Development
20 questions
All-New CR-V Exam

Quiz
•
Professional Development
20 questions
Hunyo

Quiz
•
Professional Development
25 questions
Excel Report - PRASYARAT 6

Quiz
•
Professional Development
15 questions
Circular Linked List

Quiz
•
Professional Development
15 questions
[FAST TRACK] Android Quiz 6 (20.5)

Quiz
•
Professional Development
15 questions
Progression Unit 201 Quiz

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade