Java Basics

Quiz
•
Computers
•
University
•
Hard

Areej Althubaity
Used 62+ 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
7 questions
Python Round 4

Quiz
•
University
15 questions
C++ Quiz-1

Quiz
•
University
14 questions
JavaScript

Quiz
•
University
10 questions
C++ Array

Quiz
•
University
10 questions
Java Programming Basics

Quiz
•
University
10 questions
Analysis of Algorithms

Quiz
•
University
15 questions
BASIC C QUIZ

Quiz
•
University
15 questions
Data Types & Variables

Quiz
•
University
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
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University