Level 2

Creating an Object

views

7:31
You will notice here that before the function name we have written House:: . This indicates to the computer which class the function belongs to. This is very handy when your program has more than one class.