Tuesday, 31 October 2017
java output problems
Question 04:
What does the following code print?
System.out.print(
"*"
);
System.out.println(
"***"
);
System.out.println(
"*****"
);
System.out.print(
"****"
);
System.out.println(
"**"
);
It print
****
*****
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment