utilizei string para declarar variavel name e realizei o restante dessa forma
//TIP To Run code, press or // click the icon in the gutter. public class Main { public static void main(String[] args) { //TIP Press with your caret at the highlighted text // to see how IntelliJ IDEA suggests fixing it. String name = "Paulo"; /1/System.out.printf("Olá, %s\n",name); /2/System.out.println("Tudo bem?");
/*3*/System.out.println("JVM (Java Virtual Machine) - é a Máquina Virtual do Java responsável por executar o bytecode");
/*3*/System.out.println("JRE (Java Runtime Environment) - Ambiente de Execução do Java que fornece as bibliotecas padrões do Java para o JDK compilar o seu código e para a JVM executar o seu program");
int Soma = 10+5;
/*4*/System.out.println(Soma);
int Subtracao = 10-5;
/*5*/System.out.println(Subtracao);
}
}