Which of the following concept is often expressed by the phrase, 'One interface, multiple methods'?
Abstraction
Polymorphism
Inheritance
Encapsulation
Browse topic-based Object Oriented System Design practice sets.
73 practice sets · Page 1 of 4
Which of the following concept is often expressed by the phrase, 'One interface, multiple methods'?
Abstraction
Polymorphism
Inheritance
Encapsulation
Which Keyword from the following is used to inherit properties from one class into another?
extends
subclasses
native
all of the mentioned
Which of the following supports the concept of hierarchical classification?
Polymorphism
Encapsulation
Abstraction
Inheritance
Which of the following is a mechanism by which object acquires the properties of another object?
Encapsulation
Abstraction
Inheritance
Polymorphism
How will a class protect the code inside it?
Using Access specifiers
Abstraction
Use of Inheritance
All of the mentioned
What is 'Basis of Encapsulation'?
object
class
method
all of the mentioned
Which of the these is the functionality of 'Encapsulation'?
Binds together code and data
Using single interface for general class of actions.
Reduce Complexity
All of the mentioned
Which of the following mechanisms is/are provided by Object Oriented Language to implement Object Oriented Model?
Encapsulation
Inheritance
Polymorphism
All of the mentioned
Which of the following is the functionality of 'Data Abstraction'?
Reduce Complexity
Binds together code and data
Parallelism
None of the mentioned
Which is a named memory location assigned a value by the program?
variable
literal
identifier
None of the mentioned
Which of the following is called as 'Compilation unit'?
Object file
Byte code
Source file
All of the mentioned
Java Compiler translates the source code into?
Machine code
Assembly code
Byte code
JVM code
Which of the following is/are advantage of using object oriented programming?
Code Reusability
Can create more than one instance of a class without interference
Platform independent
All of the mentioned
Which of the following approach is followed by Object Oriented Language during the execution of a program?
Bottom up approach
Top down approach
Both a and b
None of the mentioned
Which of the following Paradigm is followed by Object Oriented Language Design?
Process-Oriented Model
Data Controlling access to code.
Both a and b
None of the mentioned
Which of the following approach help us understand better about Real time examples, say Vehicle or Employee of an Organisation?
Procedural approach
Object Oriented approach
Both a and b
None of the mentioned
Which of the following statements about object model is true I. Object model encourages the reuse of software and entire design of the application. II. Object model produces systems that are built upon stable intermediate forms. III. Object model reduce the inherent in developing complex systems. IV. None of the mentioned
I, III
I, II
I, II, III
IV
_____________ is the property that distinguishes an active object from one that is not active.
Persistence
Typing
Aggregation
Concurrency
Subclass represents _______________ abstractions
Generalized abstractions
Specialization abstractions
Both
None of the mentioned
Superclass represents ______________ abstractions
Generalized abstractions
Specialization abstractions
Both
None of the mentioned