Menu mobile
Home
Programming
Python Tutorial
Java Tutorial
C Tutorial
C++ Tutorial
Web Technology
HTML
CSS
Java Script
PHP
React JS
Node JS
Assignment
MS Office
HTML
CSS
Bootstrap
Java Script
JQuery
AngularJs
Project
Blog
QUIZ ON : java - JAVA OBJECT ORIENTED PROGRAMMING
JAVA OBJECT ORIENTED PROGRAMMING
00:00:00
English
Hindi
Question No# :
01
out of 34
Name the characteristics of Object Oriented Programming that hides the complexity and provides a simple interface.
Name the characteristics of Object Oriented Programming that hides the complexity and provides a simple interface.
A.
Encapsulation
Encapsulation
B.
Polymorphism
Polymorphism
C.
Abstraction
Abstraction
D.
Inheritance
Inheritance
Question No# :
02
out of 34
Which statement about objects is true?
ऑब्जेक्ट के बारे में कौन सा कथन सत्य है?
A.
One object is used to create one class.
One object is used to create one class.
B.
One class is used to create one object.
One class is used to create one object.
C.
One object can create many classes.
One object can create many classes.
D.
One class can create many objects.
One class can create many objects.
Question No# :
03
out of 34
For Cat and Animal class, correct way of inheritance in java is
For Cat and Animal class, correct way of inheritance in java is
A.
class Cat extends Animal
class Cat extends Animal
B.
class Animal extends Cat
class Animal extends Cat
C.
Both are correct way
Both are correct way
D.
None is correct way
None is correct way
Question No# :
04
out of 34
Encapsulation concept in java is
Encapsulation concept in java is
A.
Hiding complexity
Hiding complexity
B.
Method hiding
Method hiding
C.
Hiding constructor
Hiding constructor
D.
None
None
Question No# :
05
out of 34
If you want to write multiple functions in a class with same name, then what Java feature will you use?
If you want to write multiple functions in a class with same name, then what Java feature will you use?
A.
Function overriding
Function overriding
B.
Encapsulation
Encapsulation
C.
Function overloading
Function overloading
D.
None
None
Question No# :
06
out of 34
What is meant by state of an object?
What is meant by state of an object?
A.
Functions of the object
Functions of the object
B.
Data Members of the object
Data Members of the object
C.
Content of an object
Content of an object
D.
All of these
All of these
Question No# :
07
out of 34
Runtime polymorphism feature in java is
Runtime polymorphism feature in java is
A.
method overriding
method overriding
B.
method overloading
method overloading
C.
constructor overloading
constructor overloading
D.
operator overloading
operator overloading
Question No# :
08
out of 34
What is the behaviour aspect of an object represented by?
What is the behaviour aspect of an object represented by?
A.
Member Functions
Member Functions
B.
Data Members
Data Members
C.
Both a and b
Both a and b
D.
None of these
None of these
Question No# :
09
out of 34
Following concept can be used for encapsulation in java programs
Following concept can be used for encapsulation in java programs
A.
Wrapping data fields with methods
Wrapping data fields with methods
B.
Hiding data and internal methods using access modifiers in a class
Hiding data and internal methods using access modifiers in a class
C.
Using Interfaces
Using Interfaces
D.
All of the above
All of the above
Question No# :
10
out of 34
Which concept of Java is a way of converting real world objects in terms of class?
जावा की कौन सी अवधारणा वास्तविक दुनिया की वस्तुओं को वर्ग के संदर्भ में परिवर्तित करने का एक तरीका है?
A.
Polymorphism
Polymorphism
B.
Encapsulation
Encapsulation
C.
Abstraction
Abstraction
D.
Inheritance
Inheritance
Question No# :
11
out of 34
Name the programming technique that implements programs as an organized collection of interactive objects.
Name the programming technique that implements programs as an organized collection of interactive objects.
A.
Procedure Oriented Programming
Procedure Oriented Programming
B.
Modular Programming
Modular Programming
C.
Object Oriented Programming
Object Oriented Programming
D.
None of these
None of these
Question No# :
12
out of 34
Java object oriented programming concepts is/are
Java object oriented programming concepts is/are
A.
Encapsulation
Encapsulation
B.
Inheritance
Inheritance
C.
polymorphism
polymorphism
D.
All of the above
All of the above
Question No# :
13
out of 34
Name the programming technique that implements programs as an organised collection of interactive objects.
Name the programming technique that implements programs as an organised collection of interactive objects.
A.
Procedure Oriented Programming
Procedure Oriented Programming
B.
Modular Programming
Modular Programming
C.
Object Oriented Programming
Object Oriented Programming
D.
None of these
None of these
Question No# :
14
out of 34
Polymorphism types in Java is/are
Polymorphism types in Java is/are
A.
Compile time
Compile time
B.
Run time
Run time
C.
Both
Both
D.
None
None
Question No# :
15
out of 34
Name the programming technique that specifies a series of well-structured steps and procedures within its programming context to compose a program.
Name the programming technique that specifies a series of well-structured steps and procedures within its programming context to compose a program.
A.
Procedure Oriented Programming
Procedure Oriented Programming
B.
Modular Programming
Modular Programming
C.
Object Oriented Programming
Object Oriented Programming
D.
None of these
None of these
Question No# :
16
out of 34
Which among the following operator is used to access individual members of an object?
Which among the following operator is used to access individual members of an object?
A.
. (dot)
. (dot)
B.
+ (plus)
+ (plus)
C.
– (minus)
– (minus)
D.
/ (divide)
/ (divide)
Question No# :
17
out of 34
Name the characteristics of Object Oriented Programming that hides the complexity and provides a simple interface
Name the characteristics of Object Oriented Programming that hides the complexity and provides a simple interface
A.
Encapsulation
Encapsulation
B.
Polymorphism
Polymorphism
C.
Abstraction
Abstraction
D.
Inheritance
Inheritance
Question No# :
18
out of 34
What is the term that is used to represent hierarchical relationship of generalization?
What is the term that is used to represent hierarchical relationship of generalization?
A.
Polymorphism
Polymorphism
B.
Encapsulation
Encapsulation
C.
Abstraction
Abstraction
D.
Inheritance
Inheritance
Question No# :
19
out of 34
IS-A relationship in java is related to
IS-A relationship in java is related to
A.
Inheritance
Inheritance
B.
Encapsulation
Encapsulation
C.
Composition
Composition
D.
None
None
Question No# :
20
out of 34
A ____ is a template that binds together data and methods together
A ____ is a template that binds together data and methods together
A.
Class
Class
B.
Object
Object
C.
Method
Method
D.
None of these
None of these
Question No# :
21
out of 34
Java does not support _______________
Java does not support _______________
A.
Inheritance
Inheritance
B.
Multiple inheritance for classes
Multiple inheritance for classes
C.
multiple inheritance of interface
multiple inheritance of interface
D.
compile time polymorphism
compile time polymorphism
Question No# :
22
out of 34
Hiding the complexity in program is known as
Hiding the complexity in program is known as
A.
Abstraction
Abstraction
B.
Encapsulation
Encapsulation
C.
Data hiding
Data hiding
D.
Composition
Composition
Question No# :
23
out of 34
Which of the following is not OOPS concept in Java?
निम्नलिखित में से कौन जावा में OOPS अवधारणा नहीं है?
A.
Inheritance
Inheritance
B.
Encapsulation
Encapsulation
C.
Polymorphism
Polymorphism
D.
Compilation
Compilation
Question No# :
24
out of 34
Which among the following modifier is used in a ‘class’?
Which among the following modifier is used in a ‘class’?
A.
public
public
B.
default
default
C.
Both a and b
Both a and b
D.
None of these
None of these
Question No# :
25
out of 34
Exposing only necessary information to clients ( main programs, classes) is known as
Exposing only necessary information to clients ( main programs, classes) is known as
A.
Abstraction
Abstraction
B.
Encapsulation
Encapsulation
C.
Data hiding
Data hiding
D.
Hiding complexity
Hiding complexity
Question No# :
26
out of 34
When does method overloading is determined?
When does method overloading is determined?
A.
At run time
At run time
B.
At compile time
At compile time
C.
At coding time
At coding time
D.
At execution time
At execution time
Question No# :
27
out of 34
Which of the following is a type of polymorphism in Java?
Which of the following is a type of polymorphism in Java?
A.
Compile time polymorphism
Compile time polymorphism
B.
Execution time polymorphism
Execution time polymorphism
C.
Multiple polymorphism
Multiple polymorphism
D.
Multilevel polymorphism
Multilevel polymorphism
Question No# :
28
out of 34
In a class, encapsulating an object of another class is called
In a class, encapsulating an object of another class is called
A.
Composition
Composition
B.
Inheritance
Inheritance
C.
Encapsulation
Encapsulation
D.
None
None
Question No# :
29
out of 34
What is the ability of an object to take on many forms called?
What is the ability of an object to take on many forms called?
A.
Polymorphism
Polymorphism
B.
Encapsulation
Encapsulation
C.
Abstraction
Abstraction
D.
Inheritance
Inheritance
Question No# :
30
out of 34
Which among the following is a valid object name?
Which among the following is a valid object name?
A.
obj1
obj1
B.
1obj
1obj
C.
Obj 1
Obj 1
D.
Obj#1
Obj#1
Question No# :
31
out of 34
A set of instructions given to a computer to do a particular task.
A set of instructions given to a computer to do a particular task.
A.
Program
Program
B.
High level Language
High level Language
C.
Object
Object
D.
None of these
None of these
Question No# :
32
out of 34
Name the art of implementing Encapsulation in Object Oriented Programming.
Name the art of implementing Encapsulation in Object Oriented Programming.
A.
Polymorphism
Polymorphism
B.
Encapsulation
Encapsulation
C.
Abstraction
Abstraction
D.
class
class
Question No# :
33
out of 34
Which among the following is a valid class name?
Which among the following is a valid class name?
A.
Simple Interest
Simple Interest
B.
SimpleInterest
SimpleInterest
C.
1SimpleInterest
1SimpleInterest
D.
Simple@Interest
Simple@Interest
Question No# :
34
out of 34
An object is represented by two attributes, out of which one is characteristics and the other one is
An object is represented by two attributes, out of which one is characteristics and the other one is
A.
Behaviour
Behaviour
B.
Situation
Situation
C.
Abstraction
Abstraction
D.
Encapsulation
Encapsulation
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Best Java Training Institute in Prayagraj (Allahabad)
Best Python Training Institute in Prayagraj (Allahabad)
O Level Online Test in Hindi
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz