AlphaTutor
🛠️ Tools ▼
📝➡️📄 Word to PDF
🖼️➡️📄 Image to PDF
📄➡️📝 PDF to Word
🗜️ Compress
🧰 Services ▼
❓ Quizzes
👔 Prep Interviews
💬 Asked Questions
📚 Books
🎨 Designing ▼
🔖 Favicon Icon
🖌️ Website Logo
🌐 Learn Languages ▼
🇩🇪 German
🇬🇧 English
🇫🇷 French
Menu ▼
🌜
Sign In
Sign Up
☰
Generative AI
Java
Spring Boot
Flutter
NextJs
Quarkus
PostgreSQL
HTTP
C#
ASP.NET
Git
ReactJs
Nodejs
Python
Javascript
VueJs
Oracle DB
MySql
☰
Java Quiz
Spring Boot Quiz
Flutter Quiz
NextJs Quiz
Quarkus Quiz
PostgreSql Quiz
Quiz Question
Prev
Next
Welcome to the Java Quiz! Let's test your knowledge.
Quiz Questions
What is the size of an int data type in Java?
8 bits
16 bits
32 bits
64 bits
Which of these is not a Java keyword?
class
interface
extends
implements
unsigned
To define project dependencies
Which company originally developed Java?
Apple
Google
Sun Microsystems
Microsoft
Which method is used to start a thread in Java?
start()
begin()
Which of these is a valid way to create an array in Java?
int[] arr = new int[5];
int arr[] = new int(5);
int arr[5] = new int[];
int[] arr = int[5];
Use the `quarkus-kubernetes` extension
Which of these exceptions is thrown when a division by zero occurs?
NullPointerException
NumberFormatException
ArithmeticException
ArrayIndexOutOfBoundsException
Which of the following is a marker interface?
Serializable
Comparable
Runnable
Cloneable
Which of these is not a feature of OOP in Java?
Inheritance
Encapsulation
Polymorphism
Multithreading
Which of the following is not a primitive data type in Java?
int
float
boolean
String
What is the default value of a boolean variable in Java?
true
false
0
null
Submit
Clear
Prev
Next