Question Bank

246 approved questions from the community

How can you create a singleton in Kotlin using the most succinct syntax?

EASY
MULTIPLE CHOICE
30s
Kotlin
by Mohamed

What is the primary difference between 'val' and 'var' in Kotlin?

EASY
MULTIPLE CHOICE
25s
Kotlin
by Mohamed

Which of the following are built-in primitive types in Kotlin?

EASY
MULTIPLE RESPONSE
30s
Kotlin
by Mohamed

How does Kotlin improve the developer experience for Android development compared to Java?

MEDIUM
MULTIPLE RESPONSE
45s
Kotlin
by Mohamed

What are the key strengths of Kotlin when running on the JVM?

MEDIUM
MULTIPLE RESPONSE
45s
Kotlin
by Mohamed

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

MEDIUM
MULTIPLE RESPONSE
40s
Java
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
35s
Java
by Mohamed

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

MEDIUM
MULTIPLE RESPONSE
45s
Java
by Mohamed

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

MEDIUM
MULTIPLE RESPONSE
45s
Java
by Mohamed

What is Java bytecode?

EASY
MULTIPLE 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
MULTIPLE CHOICE
30s
Java
by Mohamed

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

MEDIUM
MULTIPLE RESPONSE
45s
Java
by Mohamed

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

EASY
MULTIPLE CHOICE
30s
Java
by Mohamed

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

EASY
MULTIPLE CHOICE
30s
Java
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
35s
Java
by Mohamed

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

EASY
MULTIPLE CHOICE
30s
Java
by Mohamed

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

MEDIUM
MULTIPLE RESPONSE
45s
Java
by Mohamed

Which of the following are core features of Java?

MEDIUM
MULTIPLE RESPONSE
45s
Java
by Mohamed

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

EASY
MULTIPLE CHOICE
30s
Java
by Mohamed
PreviousPage 3 of 13Next