What’s wrong? for (int k = 2, k <=12, k++)

Question: What’s wrong? for (int k = 2, k <=12, k++)

1. the increment should always be ++k

2.the variable must always be the letter i when using a for loop

3.there should be a semicolon at the end of the statement

4.the commas should be semicolons

R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!