Java OOP Connections

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Carol Luce
Used 91+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A Java block is formed by enclosing statements using open and close curly brackets. True or False?
True
False
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Identifiers can start with a number. True or False?
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This is the general structure for a method:
<Returnvalue type> <Method Name> (argument / s)
<Modifier> < type> <Method Name> (parameter / s)
public static void main (String[ ] args)
<Method Name> (parameter)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The difference between a static and non static method is:
For a non static method the user needs to create object in a class to call that method.
A non-static method performs only a specific task.
There is no significant difference between a static and non - static method.
Both are bounded with a class.
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The data type for non returning method is:
int
double
void
public static
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the type of error that exists in this method program.
Logic error
runtime error
syntax error
Value error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrapping of data into a single unit called class called?
Abstraction
Interface
Encapsulation
Instantiation
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
002_Java Methods

Quiz
•
12th Grade - University
20 questions
APCSA Arrays

Quiz
•
9th - 12th Grade
15 questions
Unit 2 Inheritance in Java

Quiz
•
12th Grade - University
23 questions
AP CSA Unit One Review

Quiz
•
11th Grade
19 questions
Java Method

Quiz
•
12th Grade
20 questions
Java, part I

Quiz
•
11th Grade - University
18 questions
STATIC KEYWORD IN JAVA

Quiz
•
9th - 12th Grade
17 questions
AP CS Test 0 Module 1

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade