you can print information in java using the command(java will print content inside the 2 braces) : System.out.println("helllo");
notice: java will print the word: hello
example:
java program to add firsnamt and last name then print the resulting full name:
String firstName="ahmed";
String lastName="mahdi";
String fullName=firstName+" "+lastName;
System.out.println(fullName);
java code to print the summation of 2 integers: