Java & JavaScript Basic Quiz Test Your Java & JavaScript Skills: Beginner’s Quiz 1 / 5 Which tag is used to add JavaScript in HTML? js javascript code script 2 / 5 Which of the following is used to display output in Java? print.out() console.log() System.out.println() document.write() 3 / 5 Which of the following is used to display output in JavaScript? echo() System.out.println() console.log() print.java() 4 / 5 Which of the following is a variable keyword in JavaScript? string float int var 5 / 5 Which symbol is used to end a statement in Java? . ; , : Your score isThe average score is 0% 0% Restart quiz Send feedback