[Java daily question] 20170308, java20170308
20170307 for problem resolution, click "Java daily question" 20170308 "below today's question to view the problem (The problem is resolved at the beginning of the public account, public ID: weknow619)
Package Mar2017; public class Ques0308 implements Runnable {private String str1 = "this"; private int [] str2 = {1, 2, 4, 4, 5 }; public static void main (String [] args) {Ques0308 test = new Ques0308 (); (new Thread (test )). start (); (new Thread (test )). start () ;}@ Override public synchronized void run () {for (int I = 0; I <5; I ++) {System. out. println (str1 + str2 [I]) ;}}
Today's question:
What is the main program running result? (Click "[Java daily question] 20170308" below to view issue resolution 20170307)
Questions originally published on the public account and short book: [Java daily question] 20170308, [Java daily question] 20170308 (you can also scan the Avatar QR code to view)
The weknow team has activated the authentication and has answered questions. If you have any questions, you can also consult. Click the answer to find me !!