Can we call a base class method without creating instance?
Answer Posted / amit sharma
U've to derieve the class first and then when u instanciate
the derieved class. Then :-
U can call it using derieved class object or in a derieved
class member function depending upon base class fun's acess
specifer and inheritence specifier.
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
Which language is pure oop?
What are the benefits of interface?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
Is this job good for future? can do this job post grduate student?
What is the purpose of polymorphism?
write a program that takes input in digits and display the result in words from 1 to 1000
What is the point of polymorphism?
What is the real life example of polymorphism?
How is polymorphism achieved?
What is the difference between encapsulation and polymorphism?
What is abstract class in oop?
What is abstraction and encapsulation?
What is overriding vs overloading?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
What are the types of abstraction?