+ 1

Running Multiple classes in Playground

So i'm coding in the playground and i have i have 2 different playgrounds open The First has public class Program{} public class compClass{} public class ToString{} The second has public class Program{} public class Tuna{} public class TimeTuna{} public class TimeTunaThis{} public class MutliCon{} For some reason the First keeps erroring with ..\Playground\:8: error: class CompClass is public, should be declared in a file named CompClass.java public class CompClass{ Yet the second one with more classes runs fine

17th Feb 2017, 8:15 PM
Alex Salgado
Alex Salgado - avatar
1 Answer
- 2
hi don't this app's "playground". it's quite bad, I suggest you using AIDE for Java development on mobile
17th Feb 2017, 8:46 PM
Edi Lipovac
Edi Lipovac - avatar