why we are declare the function in the abstract class even
though we are declaring it in Derived class?
Answer / vishal
Abstract class is nothing but placeholder for other classes
ie subclass.It defines common shared behavior in abstract
classes and if we need to override we need to define in its
subclass else we can use shared behavior in base class.
Is This Answer Correct ? | 1 Yes | 0 No |
Why is abstraction needed?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
Why do we use oops?
What is abstraction?
how to get the oracle certification? send me the answer
What is the difference between the c++ & java?
WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.
What is overloading in oop?
what are abstract classes and how they impliment , with example
Why a "operator=(...)" when there is a copy ctor?
define oops concept with example
What is the difference between static polymorphism and dynamic polymorphism?