What is the alternate of 'Inheritance' ?
Answer Posted / nikshay
delegation(it is usefull becoz u know about message u pass that associate with ur objects, so yes delegation.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Is arraylist an object in java?
What is the method overriding?
Does java return by reference?
What is the purpose of default constructor?
What is stringwriter?
What does the “static” keyword mean?
Why are constructors used?
What advantage do java's layout managers provide over traditional windowing systems?
what do you mean by stream pipelining in java 8? Explain
Can we start a thread twice in java?
Is list ordered in java?
Is void a data type?
What is mvc in java?
What is the difference between compile-time polymorphism and runtime polymorphism?
Why does java does not support multiple inheritance? Explain