The following code gives the errors listed below it. I have found some work arounds, but am wondering why this doesn't work. Can someone explain?
- Rob
----- Begin Code -----
--- Begin Error Messages ---
FooBar.java:7: cannot resolve symbol
symbol : constructor Foo (java.lang.String)
location: class Foo
Foo foo = new Foo( new
String("Hello, world"));
^
FooBar.java:41: call to super must be first statement in constructor
super();
^
FooBar.java:46: call to super must be first statement in constructor
super( bs );
^
3 errors
(edited by Cindy to format code)
[ February 24, 2002: Message edited by: Cindy Glass ]