Difference between system.out.print() and system.out.println() : JAVA Program Code

preview_player
Показать описание
#java
#javaprogramming
#javacodinginterviewquestionsandanswers
#javainterviewquestionsandanswers
#javainterviewquestions
#javatutorialforbeginners
#javaswing

Links Of the Other Tutorial Programs

Рекомендации по теме
Комментарии
Автор

Hi.... I love your videos can you answer this for me?
Suppose x, y, and z are int variables and x=2, y=5, and z=6. What is the output of each of the following statements?
1. System.out.printIn ( " x = " + x + ", y = " + y + ", z = " + z ) ;
2. System.out.printIn ( " x + y = " + ( x + y ) ) ;
3. System.out.printIn ( " Sum of "+ x + " and " + z + " is " + ( x + z)) ;
❤️❤️❤️

mamadlucki