0

WHy is this code giving me a result from the previously run codes on my eclipse?

public class Boy { void cackle() { System. out.println("haha"); } } class MyClass { public static void main(String[] args) { Boy Tobi = new Boy(); Tobi.cackle(); } }

13th Dec 2016, 7:33 AM
Soaga Kingsley
Soaga Kingsley - avatar
2 Answers
0
Go to your previous Projects and Close them
13th Dec 2016, 9:06 AM
thejokahr
thejokahr - avatar
0
I have tried that...still gives me prints out the result of my previously run code
13th Dec 2016, 11:08 AM
Soaga Kingsley
Soaga Kingsley - avatar