Loops
Variables
Classes
Methods
OOP
100

What are loops?

Loop is a control flow statement that allows code to be executed repeatedly based on a given Boolean condition.

100
What do variables do in java?

Variables are containers used to store data values.

100

What is a class in java?

A class is a blueprint for creating objects, providing initial values for state and implementations of behavior.

100

Definition of a function.

A function in java is often implemented as a method, a reuseable block of code that performs a specific task.

100

What is OOP?

It stands for object oriented programming. In this type of programming language, programmers can build classes and create objects to iteratively call the instructions.

200

For loop definition.

The for loop is used to execute a block of code repeatedly for a specified number of times. It consists of three parts: initialization, condition, and update.

200

What does a string variable defines?

A string variable is a type of variable that stores text-based data.

200

What is an object?

An object is an instance of a class.

200

Class constructor definition.

It is a special method used to initialize objects when created. It has no return type and shares the same name of the class.

200

What is inheritance. 

It is an OOP feature that allows one class (child class) to acquire the properties and behaviors of another class (parent class).

300

While loop definition.

A while loop repeatedly executes a block of code as long as a specified condition is true. It is useful when the number of iterations is not known beforehand.

300

What is boolean?

It is a data type with two possible outcomes: true or false.

300

Public VS Private

Public class can be accessed from anywhere in the application, across all packages. Where private class can only be accessed within the enclosed class.

300

What are parameters in a method?

Parameters are variables defined in a method declaration that allow methods to accept input values.

300

What is encapsulation?

It is an OOP principle about hiding data and controlling access to it, usually use private and public methods. It helps with data security.


400

What is the essential logic in loops?

Boolean.

400
What is the difference of int and double?

Int stores whole number data, where double stores floating-point numbers .

400

What are instance variables in a class?

An instance variable in Java is a variable that belongs to an object of a class rather than the class itself. It is declared inside a class but outside any method, constructor, or block.  

400

What is polymorphism?

It refers to the ability to perform a certain action in two different ways; it can take two forms: method overloading and method overriding.

400

What is abstraction?

This aims to hide complexity from users and only show the relevant information (name and parameter list).

M
e
n
u