explain oops concepts with examples?
Answer Posted / srinivas
abstraction:it shows important data and hide the unwanted data
polymorphism:it shows different behaviors at different instances
Encapsulation:it provides security for the data
inheritance:the process of acquiring the properties of one
object to another object
| Is This Answer Correct ? | 22 Yes | 6 No |
Post New Answer View All Answers
What is difference between local variable and global variable?
What do you mean by order of precedence and associativity?
What is the difference between the prefix and postfix forms of the ++ operator?
What is difference between final and immutable?
I want to print “hello” even before main is executed. How will you acheive that?
What is type inference in java8?
What is a super method?
Write a program to print fibonacci series up to count 10.
What is the use of optional ?
What are pass by reference and pass by value?
What is meant by class loader? How many types are there?
What are the benefits of java?
How can we create a synchronized collection from given collection?
How can you generate random numbers in java?
What is the difference between processes and threads?