What is OOPS and How it is different from Procedural
Programming ?
Answer Posted / swati
A major factor in the invention of Object-Oriented approach
is to remove some of the flaws encountered with the
procedural approach.
Object Orientation Languages (OOL) is concerned to develop
an application based on real time while Procedural
Programing Languages (PPL) are more concerned with the
processing of procedures and functions.
In OOL, more emphasis is given on data rather than
procedures, while the programs are divided into Objects and
the data is encapsulated (Hidden) from the external
environment, providing more security to data which is not
applicable or rather possible in PPL. In PPL, its possible
to expose Data and/or variables to the external entities
which is STRICTLY restricted IN OOL.
| Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
What is encapsulation and abstraction? How are they implemented in C++?
what is graphics
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is polymorphism what is it for and how is it used?
What is a superclass in oop?
What is overloading in oops?
What is abstraction and encapsulation?
explain sub-type and sub class? atleast u have differ it into 4 points?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
Why is polymorphism important in oop?
What are properties in oop?
Can private class be inherited?
What do you mean by variable?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What is the difference between encapsulation and polymorphism?