If A Class Have A Public Member Function And Is Called Directly #1047
If a class have a public member function and is called directly in the main function then ___________________________
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Member Functions & its Types - Object Oriented Programming MCQ: Public Member Functions - Quiz No.2.
If a class have a public member function and is called directly in the main function then ___________________________
Undeclared function error will be produced
Out of memory error is given
Program gives warning only
Program shut down the computer