How to get Output ? How to write output program ? (ch 02)
Chapter 2 :- Output Output Syntax :- System.out.println("Hello World"); In java, these syntax is very case sensitive. If you had some mistake in uppercase or lowercase characters then it throws an error. This need to write the exact code. Inside the ("_")quotation we can write our output, In syntax we write "Hello World" if you need some other output, then you can put inside the quotation. In that syntax the println is for print new line, the 'ln' is for new line. If sometimes we need to write the code in same line then it is necessary to not to write 'ln'. For ex :- System.out.print("Hello World"); Also the semicolon (;) after finishing the code it is also mendat...