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
Explain when we should make an instance variable private.
What is merge sort in java?
Which list is sorted in java?
What is jit and its use?
What are methods and how are they defined?
What is the difference between java applets and applications?
What does it mean that a method or field is “static”?
What is an infinite loop?
Which class is used by server applications to obtain a port and listen for client requests?
Define the term string pool?
How to perform binary search in java?
What will happen if a thrown exception is not handled?
What is the differences between heap and stack memory in java? Explain
What are the different ways to handle exceptions?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?