Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

Consider public class MyClass{ public MyClass(){/*code*/} // more code... } To instantiate MyClass, you would write?

MyClass mc = MyClass;
MyClass mc = new MyClass;
MyClass mc = new MyClass();
It can't be done. The constructor of MyClass should be defined as public void MyClass(){/*code*/}
MyClass mc = MyClass();
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon