第2个回答 2020-02-18
First of all, JavaScript use more easy language, such as" var variable = 1; " but in Java, it is" int variable = 1; "
To appear word hello on the screen, in Java, it should be
class HelloApp{
public static void main
(String[] args){
System.out.printIn
("Hello");
}
}
But in JavaScript, it's
console.log('Hello');