how to print the below in java?thanks in advance....
*
* *
* *
* *
*
Answer Posted / venkat
In the above program 4th line from last remove "\n"
ie. shoule be System.out.println("")
below is output:
*
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
*
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
What is integer parseint?
What is the right data type to represent a price in java?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
What is the importance of static variable?
What is the char data type?
What are the uses of java?
What is the maximum size of list in java?
Can we convert stringbuffer to string?
Is there any case when finally will not be executed?
how to create multithreaded program? : Java thread
What is the arraylist in java?
How to create a fecelet view?
what is a working thread? : Java thread
What is better- service oriented or batch oriented solutions?