Part (1)
Create a class called HOUSE that has these private instance variables: an owner “string”, an area “double” and a pricePerMeter “double”. The class has the following methods:
Part (2)Write a Java application that asks the user to enter the owner, area and price per meter of the house. Create an object from House class you defined in Part (1) and use it to display the house information and the total price of the house.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here