Search Header Logo

Java-1

Authored by RANGASWAMY K

Education

University

Used 1+ times

Java-1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a principle of Object-Oriented Programming?

Encapsulation

Inheritance

Compilation

Polymorphism

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which concept allows you to create multiple functions with the same name but different parameters?

Encapsulation

Inheritance

Method Overloading

Abstraction

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which OOP concept is used for implementing runtime polymorphism?

Method Overloading

Method Overriding

Abstraction

Inheritance

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these components is mandatory in every Java application?

Class declaration

import statement

Interface declaration

Package declaration

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a Java token?

Keywords

Identifiers

Variables

Literals

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the term ‘literal’ refer to in Java?

Variables

Keywords

Constant values used directly in the program

Data types

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are command line arguments passed in Java?

As a list of integers

Through standard input

As an array of Strings

As environment variables

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?