Search:

Type: Posts; User: Norm

Search: Search took 0.19 seconds.

  1. Re: Main.java expects Person.java behavior to work. How can I solve this?

    Yes that sounds right.
    Look at the tutorial on how to create a constructor:
    https://docs.oracle.com/javase/tutorial/java/javaOO/constructors.html
    and how to create methods:...
  2. Re: Main.java expects Person.java behavior to work. How can I solve this?

    The compiler is looking for a class named Person. The Person class's class file must be on the class path so that the compiler can find it.
    Do you have a Person class? Where is it located? Did...
  3. Re: Main.java expects Person.java behavior to work. How can I solve this?

    What error messages are you getting with this code?
    If there are no compiler errors, what happens when you execute the code?
Results 1 to 3 of 3