H9c OOP - Toets 9c.1 - Klasse Huisdier
Sign in to test your solution.
using System;
namespace H9c
{
// Schrijf hier je Huisdier klasse
//Hieronder niets meer aanpassen
public class Program
{
public static void Main(string[] args)
{
// JE MAG DE CODE IN DE MAIN METHODE NIET AANPASSEN
Huisdier h = new Huisdier();
h.Naam = "Buddy";
h.Soort = "Hond";
h.Leeftijd = 3;
Console.WriteLine($"Naam: {h.Naam}");
Console.WriteLine($"Soort: {h.Soort}");
Console.WriteLine($"Leeftijd: {h.Leeftijd}");
}
}
}
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.