1.

Can abstract class have main() function defined inside it?

A. Yes, depending on return type of main()
B. Yes, always
C. No, main must not be defined inside abstract class
D. No, because main() is not abstract function
Answer» C. No, main must not be defined inside abstract class


Discussion

No Comment Found