What are the OOPS concepts?

Answer Posted / jithin

Object:- An object is collection of data. It may represent
a person,place,etc.
Object is the basic unit of object-oriented programming.
Objects are identified by its unique name. An object
represents a particular instance of a class. There can be
more than one instance of an object. Each instance of an
object can hold its own relevant data.
Class:-A class is collection of objects in similar nature.
Inheritence:- It means creation of a new class from an
existing class. The derived class has the power to acces
all members from his parent if it is not private.
DataAbstraction:- It define a programmer does not worry
about the back ground of the system, he just concentrate
his progarm only.
Data Encapusulation:- It simly known as data organised in
single unit. It is possible throuh classes. It also helps
to hide our data from outsiders in the program. It is very
helpful to secure our data.
Polymorphism:-A data differntly behaved in differnt
situation. eg: a person lough whenver he happy and the same
person will cry when he sad.
7.DYNAMIC BINDING:
Dynamic binding is the proces of resolving the function to
be associated with yhe respective functions calls during
their runtime rather than compile time.
8.MESSAGE PASSING:-Every data in an objest in oops that is
capable of
processing request known as message .All object can
communicate with each other by sending message to each other

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

1991


What is class encapsulation?

598


What is the difference between a mixin and inheritance?

524


What language is oop?

597


Advantage and disadvantage of routing in telecom sector

790






Can we create object of interface?

609


Why do we use inheritance?

630


How is polymorphism achieved?

587


What is encapsulation c#?

601


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.

699


What is the benefit of oop?

570


What is encapsulation in simple terms?

541


What is new keyword in oops?

593


What is multilevel inheritance in oop?

557


What is difference between oop and pop?

618