What will be the output of following code: for(int i=1; i<10; i++){ System.out.print(" "+i); }
Correct Answer: 1 2 3 4 5 6 7 8 9
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Java MCQ Questions
Which JDK tool converts java file to bytecode?
Which is the correct way to run a thread?
Which annotation defines unique identifier for a JPA entity?
Output of the given console application? public class Test34 { public static void main(String[] args) { int a = 2; switch(a) { default: System.out.print('_default'); case 0: System.out.print('_ZERO'); case 1: System.out.print('_ONE'); } } }
Result of the following code? public class JQ { public static void main(String[] args) { f(); } private static void f() { f(); } }
Why do you need the JDBC API?
How many Result sets available with the JDBC 2.0 core API, The following constants, defined in the ResultSet interface, are used to specify these?
AWT more powerful components like tables, lists, scroll panes, color chooser, tabbed pane etc.?
These two ways are used to create a Frame By creating the object of Frame class (association) By extending Frame class (inheritance)
The following specifies the advantages of It is lightweight. It supports pluggable look and feel. It follows MVC (Model View Controller) architecture.