[Java daily question] 20170306, java20170306
20170303 for problem resolution, click "Java daily question" 20170306 "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 Ques0306 {static int I = 1; static {++ I;} public static void main (String [] args) {increment (I, 3 ); display (I);} static void increment (int n, int m) {n + = m;} static void display (int n) {System. out. println (n) ;}static {++ I ;}}
Today's question:
What is the output result of the main program? (Click "[Java daily question] 20170306" below to view issue resolution 20170303)
Questions originally published on the public account and short book: [Java daily question] 20170306, [Java daily question] 20170306 (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 !!