@@ -0,0 +1,507 @@
+package com.javarush.task.task23.task2310;%0A%0A/* %0A%D0%9D%D0%B0%D0%BF%D1%80%D1%8F%D0%B3%D0%B8 %D0%B8%D0%B7%D0%B2%D0%B8%D0%BB%D0%B8%D0%BD%D1%8B!%0A*/%0Apublic class Solution %7B%0A    private String name;%0A%0A    Solution(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A    public String getName() %7B%0A        return name;%0A    %7D%0A%0A    private void sout() %7B%0A        new Solution(%22sout%22) %7B%0A            void printName() %7B%0A                System.out.println(getName());%0A            %7D%0A        %7D.printName();%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        new Solution(%22main%22).sout();%0A    %7D%0A%7D%0A

Task --> 2310