✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
using System;
class Tree { рublic Tree() {Console.Write ( "Tree"); }}
class Fruits: Tree
{ рublic Fruits() {Console.Write ( "Fruits"); }
public Fruits (string s): this() {Console.Write (s); }}
class Apple: Fruits
{ рublic Apple (string s): base ( "Foliage") {Console.Write ( "Apple"); }}
class Program
{ static void Main () {object P = new Apple ( "Antonovka"); }}
Вкажіть результат виведення на консоль після спроби запустити програму на компіляцію і виконання:
C# oop_class