Compiling errors on homework
<p>I'm writing a program for my class and i'm getting compiling errors and I'm not sure why. I think it has something to do with my Test method.</p><pre><br /><code>public class Test1 {<br /><br /> public static void main(String[] args) {<br /><br /> String test;<br /><br /> public void Test(String s){<br /> text = s;<br /> }<br /><br /> Test test = new Test("ABC");<br /> System.out.println(test);<br /><br /> }<br />}<br /></code><br /></pre><br /><h2>Click here view more answers <a href="http://ift.tt/1UjwVMS">http://ift.tt/1UjwVMS</a></h2>
Nhận xét
Đăng nhận xét