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
Why it is called runtime polymorphism?
Why is abstraction used?
What is the full form of oops?
What is inheritance write a program to show use of inheritance?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
Explain the advantages of inheritance.
What is balance factor?
#include
What is polymorphism used for?
What is class in oop with example?
What is polymorphism in oops with example?
When not to use object oriented programming?
Which is better struts or spring?
Why do while loop is used?
What is data binding in oops?