Java Programming MCQ Questions

Java Programming MCQ Questions

University

10 Qs

quiz-placeholder

Similar activities

Quiz on Object Oriented Programming and Java

Quiz on Object Oriented Programming and Java

University

15 Qs

SKEE1103 CT#10: Functions and Scope

SKEE1103 CT#10: Functions and Scope

University

14 Qs

Aaruth Quiz

Aaruth Quiz

University

10 Qs

CSC264 Javascript Basic

CSC264 Javascript Basic

University

15 Qs

Java Quiz1 @ VCE (CSE (AI&ML))

Java Quiz1 @ VCE (CSE (AI&ML))

University

15 Qs

Java

Java

University

15 Qs

JAVA development quiz 1

JAVA development quiz 1

University

10 Qs

Computer Science

Computer Science

University

10 Qs

Java Programming MCQ Questions

Java Programming MCQ Questions

Assessment

Quiz

Other

University

Medium

Created by

pradeep kanna

Used 1+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?