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
What is variable explain?
Write a program in java to create a doubly linked list containing n nodes.
What do you understand by the term string pool?
Write a program to find maximum and minimum number in array?
Is java jre still free?
Why pointers are not used in java?
What is meant by collection in java?
Can we assign integer value to char in java?
What will happen to the exception object after exception handling?
What does bitwise or mean?
Explain listiterator and methods in listiterator?
What is stored procedure. How do you create stored procedure ?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread
What is parse method?
Do loops java?