20 Most Popular Quiz Questions on Core Java Java is a high-level object-oriented language that James Gosling developed in the year 1995. This programming language is used in various scenarios like internet programming, mobile devices, games, and e-business solutions. Java is a significantly simple language with a highly readable syntax that uses English keywords in its code. Java online test will gauge your competence in Java programming, thus helping you transform into an expert Java coder.
So, here is a compilation of core Java online test questions and answers.
1. Java language was initially called Oak” but was renamed Java” in 1995. a. True b. False Answer: a 2. Which of the below are reserved keywords in Java?
a. b. c. d.
goto array int null
Answer: a & c
3. What is the correct syntax to output "Hello World" in Java? a. b. c. d.
Answer: c
print ("Hello World"); Console.WriteLine("Hello World"); System.out.println("Hello World"); echo("Hello World");