features of OOPS

Answer Posted / pratap557

Class: an Abstract Model of a real world entity or Concept
or thinking. Like Car , Human being, PayRoll,etc.

Object: An instance( which is besically representing the
class)shows class's attributes through some public or
private method(internally)

Method: private or public functions associted with a Calss
to access the Class (Object)

Massage Passing: Interaction(exchanging data) between two
objects

Abstraction : This is a concept by which we only acess the
necessary attributes of that calsss without knowing more
about the other attrkibutes or methods opf that cals( some
waht like wrapping)

Encapsulation: Hiding data (attributes of a class from
other)by eclaring private , public etc

Inheriatance: Creating new class from patrent class. As
Mammal class is inherited from Animal Class again Human
being is achild class of Mammal

polymorphism: method overloading, virtual functions

Is This Answer Correct ?    91 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you name some types of inheritance?

622


Explain the concepts involved in Object Oriented programming.

606


what is the sylabus for priliminaries?

1653


When not to use object oriented programming?

544


when to use 'mutable' keyword and when to use 'const cast' in c++

1623






what type of questions

1676


What is super in oop?

575


What are classes oop?

572


Can bst contain duplicates?

646


What is polymorphism programming?

582


What is polymorphism oop?

592


What is byval and byref? What are differences between them?

1664


What does I oop mean?

597


What is use of overloading?

587


Why do we need polymorphism in c#?

654