Identify the correct syntax for instantiating a class .

  1. testObj = CTest

  2. testObj = CTest()

  3. CTest testObj = CTest()

  4. testObj = new CTest()


Correct Option: B

Find more quizzes: