Search Header Logo

65-119

Authored by WAYGROUND GROUP

English

3rd Grade

65-119
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

47 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Choose multiple correct answers.

Inheritance allows a class to inherit the properties and methods of another class

The keyword "extends" is used to indicate inheritance in Java. It is used in the declaration of a subclass to specify the superclass that it is inheriting from.

A subclass can inherit the private members of the superclass

Java supports both multiple inheritance of classes and interfaces

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Choose multiple correct answers.

private access modifier should be used for a variable or method to only be accessed within the same class

public access modifier should be used for a variable or method that should be accessible from any class, regardless of the package

protected access modifier should be used for a variable or method that should only be accessed within the same class and subclasses, in the same package

default (no modifier) access modifier only allows access in the same class

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What is the role of the Java Development Kit (JDK) in java programming? Choose multiple correct answers.

A. A cross-platformed software development environment that offers a collection of tools and libraries necessary for developing Java-based software applications

B. A core package used in Java programming, along with the JVM (Java Virtual Machine) and the JRE (Java Runtime Environment) to develop and deploy applications

C. A software for building applications that combines common developer tools into a single graphical user interface (GUI).

D. A text editor that can assist in writing software code with features such as syntax highlighting with visual cues

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What are components of a class in Java OOP? Choose multiple correct answers.

Constructors are responsible for object creation

Attributes, Fields, Properties of a class represents by variables

Behaviours, Modification code represent by methods or functions

main() method for execution of the class

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Choose multiple correct answers.

The default value of an uninitialized int variable in Java is 0

Constants can be changed during the execution of a program

Variables and constants are both used to store values in Java

Variables can be changed during the execution of a program

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Choose multiple correct answers.

The purpose of a getter method in Java is to get the value of a variable

The purpose of a setter method in Java is to set the value of a variable

return keyword used to define getter and setter method in Java

Access modifiers often used for getter or setter method is public

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

A. The value of a reference type variable is the address refer to an object. B. The null constant refers to an empty or uninitialized reference variable. C. Reference variables usually must be initialized with the new keyword D. For Primitive types, memory location that stores data Select all that are correct.

A. The value of a reference type variable is the address refer to an object.

B. The null constant refers to an empty or uninitialized reference variable.

C. Reference variables usually must be initialized with the new keyword

D. For Primitive types, memory location that stores data

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?