Can we call a base class method without creating instance?
Answer Posted / sg
Definitely,we have declare base class as static
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is polymorphism give a real life example?
What is the real life example of polymorphism?
What are the 5 oop principles?
Which type does string inherit from?
How do you define social class?
What is difference between oop and pop?
What is the difference between static polymorphism and dynamic polymorphism?
What is encapsulation c#?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
What is cohesion in oop?
Why is static class not inherited?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
Why is object oriented programming so hard?
What is difference between abstraction and encapsulation?