//You didn't choose me, but I chose you, and appointed you, that you should go and bear fruit, //and that your fruit should remain; that whatever you will ask of the Father in my name, he may give it to you. (John 15:16) package com.javarush.task.task16.task1601; /* My first thread */ public class Solution { public static void main(String[] args) { TestThread task = new TestThread(); new Thread(task).start(); } public static class TestThread implements Runnable { public void run() {System.out.println("My first thread");} } } /* My first thread СоздаÑÑ public static class TestThread â ниÑÑ Ñ Ð¸Ð½ÑеÑÑейÑом Runnable. TestThread должен вÑводиÑÑ Ð² конÑÐ¾Ð»Ñ Â«My first thread«. ТÑебованиÑ: 1.âÐÐ¾Ð±Ð°Ð²Ñ Ð² клаÑÑ Solution пÑблиÑнÑй ÑÑаÑиÑеÑкий клаÑÑ TestThread. 2.âÐлаÑÑ TestThread должен ÑеализовÑваÑÑ Ð¸Ð½ÑеÑÑÐµÐ¹Ñ Runnable. 3.âÐеÑод run клаÑÑа TestThread должен вÑводиÑÑ "My first thread". 4.âÐÑогÑамма должна вÑвеÑÑи "My first thread". 5.âÐеÑод main не изменÑÑÑ. package com.javarush.task.task16.task1601; /* My first thread */ public class Solution { public static void main(String[] args) { TestThread task = new TestThread(); new Thread(task).start(); } } */