Which of the following is not an OOP concept?
Overloading
Procedural programming
Data abstraction
Inheritance
You have seen the enquiry machine in a railway station.The user just types in a few details like train number,station and date.The details of train,seats availability,fare etc.will be displayed.The user is not aware of its working.Which OOP feature can you correlate with this situation?
Data Encapsulation
Data Abstraction
Polymorphism
Which of the following is an invalid visibility label while inheriting a class?
public
private
protected
friend
While doing transactions in an ATM counter,the account holder can check his balance,withdraw cash,deposit,etc.He is not aware of the background processes like interest calculation,transaction that takes place in bank ,etc.Name the OOP feature that you can correlate with the above situation.
Modularity
Which of the following concepts provides facility of using object of one class inside another class?
Encapsulation
Abstraction
Composition
Which is not associated with Object-oriented programming?
Automatic initialization
Dynamic binding
None of these
Which of the following access specifier is used as a default in a class definition?
Today,shopping malls make available almost all goods and customer services under a single roof.Can you correlate this with any of the OOP features you have learn?
The act of partitioning a program into individual components is called:
Which of the following is not a characteristic of OOP?
It emphasizes more on procedure rather than data.
It models real world
It wraps up related data items and associated function in one unit.
It follows top-down approach in program design.