hello everyone,
Was
testing my ability on packages as in creating a package and importing the package.the compiler was giving me error on this code bellow:
package ebuno;
this where i declared my package
import javax.swing.*;
public class wole{
public int biola(){
System.out.println("i am a girl");
return(0);
}
}
this was where i imported it:
import ebuno;
import javax.swing.*;
public class mary{
public static void main(
String args[]){
mary jnr=new mary();
jnr.biola;
System.exit(0);
}
}
the compiler is saying "expected '.' in import ebuno
dnt know what to do.