Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    What is your question, exactly? How to make a new object based on a value in a String object? Commented Nov 26, 2009 at 19:06
  • 3
    What do you mean by a class with no constructor? How would you ever be able to instantiate an object of that type? Even using reflection, you still need to call a constructor. Commented Nov 26, 2009 at 19:10
  • 1
    Compiler will create a default constructor, if there are no other constructors Commented Nov 26, 2009 at 19:16
  • 3
    Well All classes have at least one constructor. So is it correct to assume you mean a class with only the default constructor? (parameterless) Commented Nov 26, 2009 at 19:16