explain oops concepts with examples?

Answer Posted / nagesh

OOP is Nothing but Object Oriented Programming.
In OOPs concept is implimented in our real life systems.
OOPs have following features
1. Object - Instance of class
2. Class - Blue print of Object
3. encapsulation - Protecting our data
4. polymorphism - Different behaviors at diff. instances
5. abstraction - Hidding our irrelavance data
6. inheritence - one property of object is aquring to
another property of object
7.Message Passing:message passing is possible from one
object to another
8.Robust and Secure: every object is strong one.
every object is secure one with their access specifiers.

Is This Answer Correct ?    97 Yes 37 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Error, defect,fault, failure and mistake?

650


How do you do math powers in java?

568


What are the steps involved to create a bean?

676


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

544


What is better - 'bit-shift a value' or 'multiply by 2'?

690






What happens if an exception is not handled in a program?

617


Why string objects are immutable in java?

561


Why are variables important in research?

547


Can I learn java in 3 months?

531


Can we have try block without catch block?

578


What is a char in java?

527


What are the different data types in java?

526


Why local variables are stored in stack?

486


How do I print a “?

565


What are accessor methods in java?

546