what are three tenets of object orinted Systems?Why they
call like that ?
Please answer me.
Advance thanks.
Answer Posted / santosh mundhe
Encapsulation, Polymorphism, and Inheritance these are
three main pillars of oops.
Because by using Encapsulation, Polymorphism, and
Inheritance we can achive data security , code
reuseability......
e.g.
Combining different properties together is known as
encapsulation. Means a class with private and public
properties, by making memberfunction private we can
restrict to access it from out side the class it's nothing
but data security.......
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why we use classes in oop?
How to hide the base class functionality in Inheritance?
What is the difference between abstraction and polymorphism?
Why do we use encapsulation in oops?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is abstraction in oop with example?
How do you define a class in oop?
What does <> mean pseudocode?
Write a program to reverse a string using recursive function?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.
What is polymorphism in oops?
What is the full form of oops?
What is new keyword in oops?
Why do we use oops?