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

Explain when we should make an instance variable private.

618


What is merge sort in java?

586


Which list is sorted in java?

586


What is jit and its use?

589


What are methods and how are they defined?

605






What is the difference between java applets and applications?

570


What does it mean that a method or field is “static”?

553


What is an infinite loop?

550


Which class is used by server applications to obtain a port and listen for client requests?

496


Define the term string pool?

590


How to perform binary search in java?

575


What will happen if a thrown exception is not handled?

566


What is the differences between heap and stack memory in java? Explain

537


What are the different ways to handle exceptions?

543


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

639