Hi every body
I hope everyone is doing great. Please consider the following
Int a= 11,
String b= " Joe";
String c=" Ashley dr";
The goal is to pass these variables as parameters to " System.out.println command " so that we can display on screen the output: 11 Joe Ashley dr
How can i pass these variables as parameters ?
I tried:
System.out.println ( a, " ", b, " ", c);
But compiler kept giving error.
I hope someone could help with this.
Thanks and have a great weekend.
"
I hope everyone is doing great. Please consider the following
Int a= 11,
String b= " Joe";
String c=" Ashley dr";
The goal is to pass these variables as parameters to " System.out.println command " so that we can display on screen the output: 11 Joe Ashley dr
How can i pass these variables as parameters ?
I tried:
System.out.println ( a, " ", b, " ", c);
But compiler kept giving error.
I hope someone could help with this.
Thanks and have a great weekend.
"