Java Programming MCQ Questions

Java Programming MCQ Questions

University

10 Qs

quiz-placeholder

Similar activities

A4/B3 Maintenance Assessment Power transmission system

A4/B3 Maintenance Assessment Power transmission system

University

15 Qs

Mobile Computing quiz2

Mobile Computing quiz2

University

10 Qs

Alberta Natural Resources #2

Alberta Natural Resources #2

KG - University

12 Qs

FNSINC612 Practice 3

FNSINC612 Practice 3

University

15 Qs

17 course French classical menu 01

17 course French classical menu 01

University

10 Qs

Iron Man

Iron Man

1st Grade - University

12 Qs

Games Summer Course Day 1

Games Summer Course Day 1

University

15 Qs

Practice 4 Money and Inflation and Open Economy

Practice 4 Money and Inflation and Open Economy

University

10 Qs

Java Programming MCQ Questions

Java Programming MCQ Questions

Assessment

Quiz

Other

University

Practice Problem

Medium

Created by

pradeep kanna

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a Java keyword?

static

Boolean

void

private

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of an int variable in Java?

8 bits

16 bits

32 bits

64 bits

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is used to create an object in Java?

create

new

class

make

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default value of a boolean variable in Java?

true

false

0

null

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an OOP concept in Java?

Encapsulation

Inheritance

Compilation

Polymorphism

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is the entry point of a Java program?

start()

init()

main()

run()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to inherit a class in Java?

implements

extends

inherits

derive

Create a free account and access millions of resources

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?