Answer Posted / preeti goyal
In each program main is a function. but main is also hold
by a class so atleast one class is necessary.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
why reinterpret cast is considered dangerous?
What is inheritance and how many types of inheritance?
What is polymorphism explain?
How do you answer polymorphism?
What is polymorphism what is it for and how is it used?
What is polymorphism and example?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
Can an interface inherit a class?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is the renewal class?
Why is static class not inherited?
Can a destructor be called directly?
what is different between oops and c++
write a program to find 2^n+1 ?
What is interface in oop?