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
List some oops concepts in java?
What is difference between hashset and hashmap in java?
What are multiple inheritances?
What is final method in java?
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
What is difference between static and final?
What is command line argument
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?
How many ways can we create the string object?
What is the use of bufferedreader?
What is difference between c++ and java ?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
Differentiate between nested and inner class in java.
What is a locale?
Can a list be null in java?