Java-1

Java-1

University

25 Qs

quiz-placeholder

Similar activities

Fundamentos de programacion

Fundamentos de programacion

University

21 Qs

Speed Cup de Ingeniería 2022 (Nivel Intermedio)

Speed Cup de Ingeniería 2022 (Nivel Intermedio)

University

25 Qs

Sejarah dan pendidikan di Indonesia

Sejarah dan pendidikan di Indonesia

5th Grade - University

20 Qs

Kath's Christmas Quiz 24

Kath's Christmas Quiz 24

12th Grade - University

26 Qs

22/11/22

22/11/22

University

20 Qs

JAVA

JAVA

University

21 Qs

Evaluación Módulo III

Evaluación Módulo III

University

20 Qs

Веб-картография. Тест от Светочки

Веб-картография. Тест от Светочки

University

20 Qs

Java-1

Java-1

Assessment

Quiz

Education

University

Hard

Created by

RANGASWAMY K

Used 1+ times

FREE Resource

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

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?