explain oops concepts with examples?

Answer Posted / srinivas

oops means object oriented programming. which contains only
objects&methods.java is one of the object oriented
programming language.. but it is not a 100% oop... Because
java uses premitive datatypes.....
oops contains some features:
1:encapsulation
2:inheritance
3:polymorphism

Is This Answer Correct ?    185 Yes 77 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List some oops concepts in java?

586


What is difference between hashset and hashmap in java?

470


What are multiple inheritances?

585


What is final method in java?

547


what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread

490






What is difference between static and final?

561


What is command line argument

714


What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?

666


How many ways can we create the string object?

532


What is the use of bufferedreader?

541


What is difference between c++ and java ?

673


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

520


Differentiate between nested and inner class in java.

559


What is a locale?

701


Can a list be null in java?

547