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 string args [] in java?
What are static methods?
How do I enable java in safari?
Can you make a constructor final in Java?
What is early binding and late binding in java?
What is Applet Stub Interface ?
What is an interface in java?
What is meant by string is immutable?
Differences between external iteration and internal iteration?
What is namespace in java?
How many types of voids are there?
Does java trim remove newline?
What is the difference between sleep and wait in java?
define the terminology association.
Write a program to calculate factorial in java?