Computer Science, asked by kaju3646, 2 months ago

define print statement with different options ​

Answers

Answered by Anshu200803
0

Answer:

The print() function prints the specified message to the screen, or other standard output device. The message can be a string, or any other object, the object will be converted into a string before written to the screen.

Answered by Anonymous
0

Question:

  • define print statement with different options ​

Answer:

  • A print "statement" is actually a call to the print or println method of the System. out object. The print method takes exactly one argument; the println method takes one argument or no arguments. However, the one argument may be a String which you create using the string concatenation operator + .
  • The print() function prints the specified message to the screen, or other standard output device. The message can be a string, or any other object, the object will be converted into a string before written to the screen.

Similar questions