Ask Question

The method main of a class is called when you instantiate an object of that class like this: Box myBox = new Box ();

A. TrueB. False

+3
Answers (1)
  1. 17 July, 21:18
    0
    The answer is "Option A"

    Explanation:

    In the OOPs programming language, the class and object concept is used, in which class is a collection of data members, and member function and object is known as real-time entity. In the class when the main method is created, so inside this method class object is created that's why the answer to this question is true.
Know the Answer?