Q:

Can main() function be made private?

0

Can main() function be made private?


  1. Yes, always
  2. Yes, if program doesn’t contain any classes
  3. No, because main function is user defined
  4. No, never

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (d).No, never

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING MEMBER FUNCTIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
If a function in java is declared private then it ... >>
<< Which error will be produced if private members ar...