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 value?
How many times finalize method will be invoked? Who invokes finalize() method in java?
How do you convert an int to a double in java?
What is identifier with example?
What exactly is java?
Can we execute a program without main?
What is the difference between jvm and jre? What is an interface?
What is the original name of java?
Does java isempty check for null?
What are aggregate functions explain with examples?
What is the benefit of abstract class?
Is it possible to use string in the switch case?
Can final class have constructor?
Can we rethrow the same exception from catch handler?
What is the difference between replace and replace all?