el codigo es :
Código:
////////////////////////////////////package paquete; public class Saludo{ public void Hola(){ System.out.println("Hola java desde sublime text"); } }
Código:
el error es :package paquete; public class Main{ public static void main(String []args){ Saludo s = new Saludo(); s.Hola(); } }
C:\Users\Daniel\Desktop\paquete\Main.java:5: error: cannot find symbol
Saludo s = new Saludo();
^
symbol: class Saludo
location: class Main
C:\Users\Daniel\Desktop\paquete\Main.java:5: error: cannot find symbol
[Finished in 0.9s with exit code 1] Saludo s = new Saludo();
^
symbol: class Saludo
location: class Main
2 errors