public static void Main() { Current c1 = new Current(); Saving s1 = new Saving(); c1.accept(); s1.accept(); Console.WriteLine(c1); Console.WriteLine(s1); Console.ReadLine(); }
public static void Main() { Current c1 = new Current(); Saving s1 = new Saving(); c1.accept(); s1.accept(); c1.display(); s1.display(); // Console.ReadLine(); }