What does the line static SomeThing mThing mean? ? static is like a call to a class without using an object, but here it looks like a static object, but it probably can't be, what does this record mean?
class SomeThing implements Runnable { public void run() { System.out.println("Привет из побочного потока!"); } } public class Program { static SomeThing mThing; public static void main(String[] args) { mThing = new SomeThing(); Thread myThready = new Thread(mThing); myThready.start(); System.out.println("Главный поток завершён..."); } } An example of this article is https://habrahabr.ru/post/164487/