Search Header Logo

Java Module-1 Quiz

Authored by Manicka 2797

Computers

University

Java Module-1 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who is the creator of Java programming language?

Bjarne Stroustrup

James Gosling

Guido van Rossum

Dennis Ritchie

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In what year was Java acquired by Oracle Corporation?

1995

2000

2010

2020

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does JVM stand for in Java?

Java Version Machine

Java Virtual Machine

Java Variable Manager

Java Visual Machine

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which feature of Java enables platform independence?

Garbage Collection

Bytecode

JDK

JIT Compiler

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a pillar of Object-Oriented Programming (OOP)?

Encapsulation

Inheritance

Polymorphism

Compilation

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for declaring an integer variable in Java?

int = age;

integer age;

int age = 30;

int: age = 30;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you write a single-line comment in Java?

// This is a comment

/* This is a comment */

# This is a comment

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers