Java Basics

Quiz
•
Computers
•
University
•
Hard

Areej Althubaity
Used 63+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is a Java valid variable name?
Sum Grades
static
public
FindAverage
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Static methods refer to methds that:
are private and no one can see them
can be only accessed by an object of same class
return data of type static
can be written as ClassName.methodName(arguments)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
we could pass a whole array to a method as a value
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which statement is correct?
int Var
boolean 15;
double var123;
int min=0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int [] array2= array1;
array2 references to array1 and points to array1's elements
array2 will be created and has the same elements as array1
nothing will happen
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The output of the following code is:
int[] array = {2,4,6,8,10};
for (int i=0; i < array.length;i++){
System.out.println(array[2]);
}
2
4
6
8
10
2,4,6,8,10
6
6
6
6
6
Nothing
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
method signature is
method name + parameter list
same as method head
same as method body
a cool signature :)
Create a free account and access millions of resources
Similar Resources on Wayground
5 questions
Quiz 5

Quiz
•
University
13 questions
C programming-1

Quiz
•
University
13 questions
Ciclos Python

Quiz
•
University
10 questions
Topic2: If method

Quiz
•
University
10 questions
Quiz 1

Quiz
•
University
15 questions
002_Java Methods

Quiz
•
12th Grade - University
10 questions
Array in C

Quiz
•
University
15 questions
Java Method

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University