Search Header Logo

JAVA TEST-1

Authored by Raju Amireddy

Computers

University

Used 1+ times

JAVA TEST-1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Who is known as the "Father of Java"?

a) Dennis Ritchie

b) Bjarne Stroustrup

c) James Gosling

d) Guido van Rossum

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is NOT a principle of OOP?

a) Encapsulation

b) Polymorphism

c) Compilation

d) Inheritance

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a class in Java?

a) A blueprint for creating objects

b) An object itself
s

c) A primitive data type

d) A reserved keyword

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is an object in Java?

a) A variable

b) An instance of a class

c) A data type

d) A function

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the file extension of Java bytecode files generated after compilation?

a) .java

b) .class

c) .exe

d) .byte

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does JVM stand for?

a) Java Visual Manager

b) Java Virtual Machine

c) Java Variable Manager

d) Java Version Module

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

JVM converts bytecode into machine code with the help of which process?

a) Garbage collection

b) Just-In-Time (JIT) compilation

c) Bytecode loading

d) Static linking

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