Question #299821

create a java program will concatenate the basic information of the students given the default variables name

Expert's answer

public class Main{

    public static void main(String[] args){

        String name = "Tom";
        int age = 20;
        System.out.println(name + " " + age);

    }

}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS