
OOPS concepts

Quiz
•
Computers
•
University
•
Hard
Satya Maranganti
Used 34+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
To implement multiple inheritance in Java we use
Package
Abstract class
Interface
Abstract method
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Abstract class can have
Abstract methods
Methods with code implementation
Used to create objects
Used to create subclasses
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hybrid inheritance and multiple inheritance is possible in Java using the concept
Package
Interface
Super
Access specifiers
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who invented Java?
Ryan Gosling
Bjarne Stroustrup
James Gosling
Guido van Rossum
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int[] myArray = {11, 22, 33, 44, 55};
which code is correct to print length of above int-array?
System.out.println(int[].myArray.length());
System.out.println(myArray.length);
System.out.println(myArray.length());
System.out.println(int[].myArray.size());
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The difference between static and non static method is ....
for non static method : user need to create object in a class to call a method.
A method is to perform only specific task.
There is no significant differences between static and non - static method.
Both are bounded with a class.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assuming Point is a valid class, what would be the result of this code: Point p[] = new Point[10]; System.out.println(p[3].getX());
0
Null Pointer Exception
-999
Index Out of Bound Error
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Talent Next Java MCQ-1

Quiz
•
University
20 questions
Code Junction 4

Quiz
•
University
10 questions
java quiz on Encapsulation and Abstraction

Quiz
•
University
10 questions
Temel Java Bilgisi Ölçme Testi

Quiz
•
University
13 questions
Intro to IF statements

Quiz
•
KG - University
11 questions
Array

Quiz
•
University
20 questions
JDBC

Quiz
•
University
14 questions
Java Operators

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