how many output statements are there in java
Answers
Answered by
2
Answer:
Java Output
You can simply use System.out.println(), System.out.print() or System.out.printf() to send output to standard output (screen).
System is a class and out is a public static field which accepts output data. Don't worry if you don't understand it. Classes, public, and static will be discussed in later chapters.
Let's take an example to output a line.
<img src="trees.gif" usemap="#green" border="0">
<map name="green">
<area shape="polygon" coords="19,44,45,11,87,37,82,76,49,98" href="http://www.trees.com/save.html">
<area shape="rect" coords="128,132,241,179" href="http://www.trees.com/furniture.html">
<area shape="circle" coords="68,211,35" href="http://www.trees.com/plantations.html">
</map>
Explanation:
Similar questions