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
Is map ordered in java?
How does a cookie work in Servlets?
What are heap memory and stack memory and what are memory tables.
What is the inheritance?
What are voids?
What is the purpose of the main method?
What is difference between arraylist and list in java?
What is jar?
In how many ways we can do synchronization in java?
Difference between java and javascript
How would you use Bubble Sort to sort the number of elements?
What are the benefits of operations in java?
What is string :: npos?
What is java virtual machine? Explain
What is the formula to calculate percentage?