what is the difference between print and printin
Answers
Answered by
3
Answer:
The prints method simply print text on the console and does not add any new line. While println adds new line after print text on console. print method works only with input parameter passed otherwise in case no argument is passed it throws syntax exception.
Similar questions