Good Evening,
I'm chasing my tail, again, and would appreciate any help.
I received the following error message for line 3:
"The constructor StringBuffer(
String) is undefined."
Here is the short bit of code:
public class TestStuff {
public static void main(String[] args) { // line 1
String x1 = "12ab"; // line 2
StringBuffer bc = new StringBuffer("34cd"); // line 3
byte y = 1; // line 4
System.out.println(x1 + y); // line 5
System.out.println(bc.toString() + y); // line 6
}
}
Thank you for your help.
:-)
JerryB