InfyTQ OOPS Concept Quiz 3

Question 1

Time: 00:00:00
What is the difference between a class and an object?

A class is a blueprint to make an object

A class is a blueprint to make an object

An object is a blueprint to make a class

An object is a blueprint to make a class

A blueprint is an object to make a class

A blueprint is an object to make a class

Blueprint class is an object make a

Blueprint class is an object make a

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 2

Time: 00:00:00
An object is an instance of a:

parameter

parameter

method

method

class

class

Applications

Applications

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 3

Time: 00:00:00
These have identity, state, and behavior.

class

class

object

object

method

method

void

void

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 4

Time: 00:00:00
As a blueprint is a design for a house, a class is a design for a(n):

object

object

variable

variable

constant

constant

statement

statement

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 5

Time: 00:00:00
 The wrapping up of data and functions into a single unit is called

 

class

class

object

object

encapsulation

encapsulation

none of the above

none of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 6

Time: 00:00:00
 Which of the following statements is incorrect?

Class is an object factory

Class is an object factory

Class is a composite type.

Class is a composite type.

Class is an instance of an object.

Class is an instance of an object.

Class is a user defined type.

Class is a user defined type.

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 7

Time: 00:00:00
 A programming paradigm that encapsulates instructions and data together into objects.

Object-Orientated Programmming Object-Orientated Programmming

Object-Orientated Programmming Object-Orientated Programmming

Procedural Programming Languages

Procedural Programming Languages

Structured Programming

Structured Programming

Machine Programming Languages

Machine Programming Languages

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 8

Time: 00:00:00
 What is Subclass

A class devised from another class.

A class devised from another class.

A specific instance of a class.

A specific instance of a class.

Defines the properties and methods of a group of similar objects.

Defines the properties and methods of a group of similar objects.

Define the properties or methods (never both) of a group of similar objects..

Define the properties or methods (never both) of a group of similar objects..

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 9

Time: 00:00:00
When Overloading does not occur?

More than one method with same name but different method signature and different number or type of parameters

More than one method with same name but different method signature and different number or type of parameters

More than one method with same name, same signature but different number of signature

More than one method with same name, same signature but different number of signature

More than one method with same name, same signature, same number of parameters but different type

More than one method with same name, same signature, same number of parameters but different type

 More than one method with same name, same number of parameters and type and same signature

 More than one method with same name, same number of parameters and type and same signature

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 10

Time: 00:00:00
 Which component is used to compile, debug and execute java program?

JVM

JVM

JDK

JDK

JIT

JIT

JRE

JRE

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

["0","40","60","80","100"]
["Need more practice!","Keep trying!","Not bad!","Good work!","Perfect!"]

Personalized Analytics only Availble for Logged in users

Analytics below shows your performance in various Mocks on PrepInsta

Your average Analytics for this Quiz

Rank

-

Percentile

0%

Completed

0/0

Accuracy

0%