Calling one constructor from another?
- From: "Z@xxxxxxxxxx" <uknowwhoiyam@xxxxxxxxx>
- Date: 27 Feb 2007 20:44:48 -0800
If a class has 2 constructors:
public MyClass() { ... }
and
public MyClass(int i) { ... }
How can the parameterized constructor, MyClass(i), call the
parameterless constructor, MyClass()?
.
- Prev by Date: Re: HELP
- Next by Date: Parsing or Casting a JtextField? Help requested....
- Previous by thread: java obfuscator for ejb
- Next by thread: Parsing or Casting a JtextField? Help requested....
- Index(es):