0
How can class Loading be on its own and not within the curly braces of Main class. It has to use extend(of inheritance).But
public class Main { public static void main(String[] args) { Loading loading =new Loading(); loading.LoadingMessage(); } } class Loading { public static void LoadingMessage () {System .out .println ("Loading");} }
2 Respostas
0
Can you finish your question? It got cut off.
0
But it is still Error.