| 12 | |
| 13 | using System; |
| 14 | public class Dog : Animal { |
| 15 | |
| 16 | // Instance Variables |
| 17 | String name; |
| 18 | String breed; |
| 19 | int age; |
| 20 | String color; |
| 21 | |
| 22 | // Constructor Declaration of Class |
| 23 | public Dog(String name, String breed, |
| 24 | int age, String color) |
| 25 | { |
| 26 | this.name = name; |
| 27 | this.breed = breed; |
| 28 | this.age = age; |
| 29 | this.color = color; |
| 30 | } |
| 31 | |
| 32 | // Docstring of this function |
| 33 | static void Main(string[] args) |
| 34 | { |
| 35 | Car myObj = new Car(); |
| 36 | Console.WriteLine(myObj.color); |
| 37 | } |
| 38 | } |
nothing calls this directly
no outgoing calls
no test coverage detected