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
What is interface in oop?
What is cohesion in oop?
What is polymorphism and types?
What is inheritance in simple words?
How can you overcome the diamond problem in inheritance?
What language is oop?
Why do we use encapsulation in oops?
What is destructor example?
write string class as your own class in java without using any built-in function
What is an advantage of polymorphism?
What is polymorphism programming?
What is the diamond problem in inheritance?
What is class in oop with example?
What is oops and why we use oops?
What do you mean by overloading?