how to print a numbers from 1 to 100 with out using control
structures?
Answer Posted / friend
int i = 1;
System.out.println(i++);
System.out.println(i++);
System.out.println(i++);
System.out.println(i++);
System.out.println(i++);
....................
......................
..................
................
| Is This Answer Correct ? | 7 Yes | 6 No |
Post New Answer View All Answers
How do you use compareto?
Can we nested try statements in java?
What are design patterns and please explain?
Can you give few examples of final classes defined in java api?
What is method with example?
Can we overload the methods by making them static?
How does sublist works in java?
How are destructors defined in java?
How does indexof work?
How do you invoke a method?
What is java basic concept?
Which variable is the independent variable?
What is Garbage Collection in Java
what is the final keyword denotes in java?
Is sizeof a keyword in java programming?