explain oops concepts with examples?
Answer Posted / p.prakash
object eg:chair
class eg:class class_name
data abstraction eg:to abstract one substance
data encapculation grouping of essintial details
inheritence eg:
polymorphisum
dynamic binding
message communication
| Is This Answer Correct ? | 9 Yes | 11 No |
Post New Answer View All Answers
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What is array length in java?
How does varargs work in java?
What is the difference between public, private, protected, and friend access?
Can you use this() and super() both in a constructor?
What is the hashcode () and equals () used for?
What is immutability in java?
What is default size of arraylist in java?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
What is a ternary operator in java? What is an interface?
Why collection doesn’t extend cloneable and serializable interfaces?
how does multithreading take place on a computer with a single cpu? : Java thread
what is heap memory?
Why do we need singleton class?
What is the difference between size and length in java?