Question Bank

3705 approved questions from the community

Which of these are significant purposes of the 'this' keyword in Java?

MEDIUM
MULTIPLE CHOICE
40s
Java
by Mohamed

What is the rule regarding overloading and overriding static methods in Java?

MEDIUM
SINGLE CHOICE
35s
Java
by Mohamed

In Java, what effect does the 'final' keyword have when applied to different entities?

MEDIUM
MULTIPLE CHOICE
45s
Java
by Mohamed

Which of the following are true regarding garbage collection and reference types in Java?

MEDIUM
MULTIPLE CHOICE
45s
Java
by Mohamed

What is Java bytecode?

EASY
SINGLE CHOICE
30s
Java
by Mohamed

Java is considered a 'pure' object-oriented language because every element, including primitive types, is an object.

EASY
TRUE FALSE
20s
Java
by Mohamed

What does it mean for Java to be a statically typed language?

EASY
SINGLE CHOICE
30s
Java
by Mohamed

Which of the following are valid use cases for using wrapper classes in Java?

MEDIUM
MULTIPLE CHOICE
45s
Java
by Mohamed

What is a major distinction between a primitive 'int' and its wrapper class 'Integer'?

EASY
SINGLE CHOICE
30s
Java
by Mohamed

What is the difference between 'path' and 'classpath' in Java?

EASY
SINGLE CHOICE
30s
Java
by Mohamed

What is the primary role of the ClassLoader in the Java runtime environment?

MEDIUM
SINGLE CHOICE
35s
Java
by Mohamed

What is the correct relationship between JDK, JRE, and JVM?

EASY
SINGLE CHOICE
30s
Java
by Mohamed

Which aspects of Java are considered 'non-object-oriented' features?

MEDIUM
MULTIPLE CHOICE
45s
Java
by Mohamed

Which of the following are core features of Java?

MEDIUM
MULTIPLE CHOICE
45s
Java
by Mohamed

What is the primary concept behind Java's 'Write Once, Run Anywhere' (WORA) philosophy?

EASY
SINGLE CHOICE
30s
Java
by Mohamed

Which tag is used to insert a simple line break in an HTML document?

EASY
SINGLE CHOICE
20s
by Mohamed

Which of these are examples of semantic HTML tags?

MEDIUM
MULTIPLE CHOICE
40s
by Mohamed

The <em> tag should be used when you want to emphasize text, whereas the <i> tag is typically used for styling text in italics without added semantic weight.

MEDIUM
TRUE FALSE
25s
by Mohamed

What is the primary difference between the <b> and <strong> tags?

EASY
SINGLE CHOICE
30s
by Mohamed

What are data-* attributes in HTML5 used for?

MEDIUM
SINGLE CHOICE
30s
by Mohamed
PreviousPage 178 of 186Next