Exercise 1 - Record

1 Creating a Record


Create a record, Dog, with the values nrOfLegs, which is an Integer and name, which is a String. Give the variables some values.



1.1


1.1.1 Simulation of Dog

A record cannot be simulated directly. It needs to be instantiated first.