Java 2

Java 2

Professional Development

15 Qs

quiz-placeholder

Similar activities

E-Commerce

E-Commerce

University - Professional Development

16 Qs

01 - Introdução a Banco de Dados - basico

01 - Introdução a Banco de Dados - basico

Professional Development

10 Qs

Normas de cableado estructurado

Normas de cableado estructurado

Professional Development

20 Qs

USE OF ICT IN THE LEARNING PROCESS

USE OF ICT IN THE LEARNING PROCESS

Professional Development

10 Qs

Bài 19. Tạo và làm việc với bảng

Bài 19. Tạo và làm việc với bảng

Professional Development

10 Qs

Mobile Technology

Mobile Technology

Professional Development

10 Qs

SC-900_Módulo 4

SC-900_Módulo 4

Professional Development

19 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Java 2

Java 2

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Fouad Kayali

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...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a class in Java?

  • A) A function template.

  • B) A blueprint for creating objects.

  • C) A specific type of data structure.

  • D) A type of variable.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to inherit a class in Java?

  • A) extends

  • B) super

  • C) this

  • D) implements

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'static' keyword indicate?

  • A) The variable or method belongs to the main class.

  • B) The variable or method belongs to an instance of a class.

  • C) The variable or method belongs to the class rather than any instance.

  • D) The access to the variable or method is restricted.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an OOP principle?

  • A) Encapsulation

  • B) Inheritance

  • C) Polymorphism

  • D) Compilation

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an object in Java?

  • A) A reference type variable that can store primitive data types only.

  • B) A runtime entity and instance of a class.

  • C) A type of data structure.

  • D) A blueprint for creating static methods.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an interface in Java?

  • A) A class that is used to implement security.

  • B) A template that can be applied to a class.

  • C) A collection of abstract methods and constants.

  • D) A type of data structure.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to implement an interface to a class?

  • A) extends

  • B) super

  • C) implements

  • D) static

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?