@@ -0,0 +1,878 @@
+package com.javarush.task.task15.task1524;%0A%0A/* %0A%D0%9F%D0%BE%D1%80%D1%8F%D0%B4%D0%BE%D0%BA %D0%B7%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B8 %D0%BF%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D1%85%0A*/%0A%0Apublic class Solution %7B%0A    static %7B%0A        init();%0A        System.out.println(%22Static block%22);%0A    %7D%0A%0A    %7B%0A        System.out.println(%22non-static block%22);%0A        printAllFields(this);%0A    %7D%0A%0A    public int i = 6;%0A%0A    public String name = %22First name%22;%0A%0A%0A    public Solution() %7B%0A        System.out.println(%22Solution constructor%22);%0A        printAllFields(this);%0A    %7D%0A%0A    public static void init() %7B%0A        System.out.println(%22static void init()%22);%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        System.out.println(%22public static void main%22);%0A        Solution s = new Solution();%0A    %7D%0A%0A    public static void printAllFields(Solution obj) %7B%0A        System.out.println(%22static void printAllFields%22);%0A        System.out.println(obj.i);%0A        System.out.println(obj.name);%0A    %7D%0A%7D%0A

Complete task1524