JAVA > Programming Basic

Set-1 Java Basics & Syntax

--:--
Question 1 of 15

Who is known as the creator of the Java programming language?

Question 2 of 15

Which component of Java is responsible for converting bytecode into machine-specific code at runtime?

Question 3 of 15

What is the correct file extension for a compiled Java bytecode file?

Question 4 of 15

Which method serves as the entry point for execution in a standalone Java application?

Question 5 of 15

What is the size of an 'int' primitive data type in Java?

Question 6 of 15

Which keyword is used to declare a constant variable whose value cannot be changed once assigned?

Question 7 of 15

Which of the following is NOT a primitive data type in Java?

Question 8 of 15

What is the default value of an uninitialized 'boolean' instance variable in Java?

Question 9 of 15

Which statement is used to print text to the console followed by a new line in Java?

Question 10 of 15

Which symbol is used to write a single-line comment in Java?

Question 11 of 15

Which operator is used to compare two primitive values for equality in Java?

Question 12 of 15

Which class from the java.util package is commonly used to read user input from the keyboard?

Question 13 of 15

What does the 'static' keyword indicate when applied to a method in Java?

Question 14 of 15

Which of the following is a valid variable identifier in Java?

Question 15 of 15

Which Java feature allows the same compiled bytecode to run on any operating system with a JVM?

Question Palette 0 / 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

  Answered   Not Answered
  • Privacy Policy