Question
What is Object Oriented Programming (OOP)

Answers

OOP is a methodology or paradigm that provides many concepts. The basic concepts of Object Oriented Programming are given below:
Classes and Objects: Classes are used to specify the structure of the data. They define datatype. You can create any number of objects from a class. Objects are the instances of classes.
Encapsulation: Encapsulation is a mechanism which binds the data and associated operations together and thus hide the data from outside world. Encapsulation is also known as data hiding. In C++, It is achieved using the access specifiers i.e. public, private and protected .
Abstraction: Abstraction is used to hide the internal implementations and show only the necessary details to the outer world. Data abstraction is implemented using interfaces and abstract classes in C++.
Some people confused about Encapsulation and abstraction. But they both are different.
Inheritance: Inheritance is used to inherit the property of one class into another class. It facilitates you to define one class in term of another class.   Your Comment






Search
Can you Answer!!
  • Q Who was Douglas Elton Ullman better known as
  • Q What do you mean by creating vuser script?
  • Q What is the rainbow book?
  • Q Harijan Sevak Samaj was founded in the year:
  • Q Name the family and order of Garibaldi ?
  • Q How do you go about configuring material ledger?
  • Q Which of the following is the equation used to calculate the aortic valve area during cardiac catheterization?
  • Q What 3 ingredients make a sidecar cocktail
  • Q Why is top management commitment necessary for the success of erp?
  • Q What is the default value of an integer data type in sql server 2005?
  • Q Of which territories was Ashoka the Viceroy before he became the king?