Which is a valid constructor for this class?
public class MyClass { }
create()
{ return new MyClass()
; } newInstance()
{ return new MyClass()
:} MyClass()
{} MyClass()
{} C.
Options A and B are static methods rather than constructors.
Option D is a method that happens to have the same name as the class.
It is not a constructor because constructors don't have return types.