Sail E0 Webinar
Question
Public class MyClass{ }For the above class(MyClass) what is the correct way of declaring constructor?
Options:
A .  public MyClass(){}
B .  MyClass(void) {}
C .  MyClass(){}
D .  1 and 3
E .  public MyClass(void){}
Answer: Option D

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers