i did a Display class to call Client class :

package Details;

public class Display{
    public static void main (String[] args) {

             details d = new details();   \\ HERE IT CANNOT FIND SYMBOL

                d.details();
    }
}

and the output is :

error: cannot find symbol

CAN SOMEONE HELP ME?

this is clearly a java, not a javascript question.
if your details class is within your Details package, it should find it (if, and only if, you have a default constructor.)

also: why do you have a method that has the exact same name and argument list as your constructor? very bad choice of programming.

show the entire error message, that might help us find you an answer.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.