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
what are the ways in which a constructors can be called?
write a program that takes input in digits and display the result in words from 1 to 1000
What is encapsulation and abstraction? How are they implemented in C++?
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 benefits of oop?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is overriding vs overloading?
What is solid in oops?
what's the basic's in dot net
What are the benefits of polymorphism?
What is class encapsulation?
What is coupling in oops?
What are the data types in oop?
write a program to find 2^n+1 ?
What is overloading in oop?