Java Programming Quiz

Java Programming Quiz

University

18 Qs

quiz-placeholder

Similar activities

Online Test-3 ( Wipro Talent Next )- 30th July 2020

Online Test-3 ( Wipro Talent Next )- 30th July 2020

University

20 Qs

ITEDAT Midterm Quiz #4

ITEDAT Midterm Quiz #4

University

20 Qs

quiz 2nd/3rd year

quiz 2nd/3rd year

University

21 Qs

Java Quiz based on array

Java Quiz based on array

University

15 Qs

BSIS 2-3- Quiz in ARRAY

BSIS 2-3- Quiz in ARRAY

University

20 Qs

JavaScript Variables, Data Types, and Operators Quiz

JavaScript Variables, Data Types, and Operators Quiz

University

18 Qs

Java Quiz 3

Java Quiz 3

University

15 Qs

Think it through

Think it through

University - Professional Development

16 Qs

Java Programming Quiz

Java Programming Quiz

Assessment

Quiz

Computers

University

Hard

Created by

vanathi mathiyazhagan

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary feature of Java that allows it to run on any device?

Platform Independence

Robustness

Multithreading

Object-Oriented

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a primitive data type in Java?

int

String

char

boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does JVM stand for?

Java Visual Machine

Java Virtual Machine

Java Variable Method

Java Verified Model

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a class in Java?

define

struct

class

object

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code: System.out.println(5 + 3);?

5 + 3

53

8

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following access modifiers allows visibility to subclasses?

Default

Private

Public

Protected

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'final' keyword in Java?

To handle exceptions

To declare constants

To create threads

To define interfaces

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?