See the tutorial about how to define/create a method:
Defining Methods (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
To read input from the console see the Scanner...
Type: Posts; User: Norm
See the tutorial about how to define/create a method:
Defining Methods (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
To read input from the console see the Scanner...
Which part are you having problems with?
Create a method
read in room info
call Room constructor
create 0 arg House constructor
call the method
Please edit your post and wrap your code with