import java.net.*; //for networking
import java.io.*; //for input/output operations
import java.util.Scanner; // for taking user input
Thursday, 28 July 2011
Control Structures in java
for Repetition Statement
The while statement can be used to implement any counter-controlled loop. Java also provides the for repetition statement, which specifies the counter-controlled-repetition details in a single line of code.
1 //for loop 2 //Counter-controlled repetition statement. 3 4 public class ForCounter 5 { 6 public static void main( String args[] ) 7 { 8 // for statement header includes initialization, 9 // loop-continuation condition and increment 10 for ( int counter = 1; counter <= 10; counter++ ) 11 System.out.printf( "%d ", counter ); 12 13 System.out.println(); // output a newline 14 } // end main 15 } // end class ForCounter
How to be a certified programmer
Java Certification FAQ
Frequently asked Questions on Java Programmer Certification
1.1) What Java Certifications exist?
1.2) What are the benefit of becoming certified and how much more will I get paid?1.3) What happens when new versions of the exam come out
1.4) Is the rumor about certification true?
Subscribe to:
Comments (Atom)