Search:

Type: Posts; User: srwoltering

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    1,500

    Re: Simple Question (I Think...?)

    //

    b1.buildHouse();

    h1.setOccupant(b1);
    System.out.println(h1.getOccupant());



    the error that comes up is
  2. Replies
    3
    Views
    1,500

    Re: Simple Question (I Think...?)

    I'm sorry i didn't mean a copy of the class house, I meant I wanted to create an object of the house class and then return it to my main class, a bit new to java and I didn't think through my...
  3. Replies
    3
    Views
    1,500

    Simple Question (I Think...?)

    Okay so this is probably really simple, but I am trying to make one class called builder create a copy of another class called house, and then return it to my main function.

    public House...
Results 1 to 3 of 3