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
What is a byte string?
What is the use of java?
What is the diffrence between inner class and nested class?
How to create an interface?
Difference between Linked list and Queue?
Explain about the performance aspects of core java?
What is the difference between a break statement and a continue statement?
Can a final variable be initialized in constructor?
What is package protected in java?
What is a instance variable?
Can we use both this () and super () in a constructor?
How can we break singleton in java?
What are the basic control structures?
What do you mean Abstraction in java?
What is a private class in java?