(Blank)
(Blank)
(Blank)
(Blank)
(Blank)
100

Encapsulation can be done by ____.

Private and Public

100

What is an object?

It is an Instance of Class

100

Print statement in Java

System.out.println("Hello World!!!");

100

Define declaration of variable in Java

type var_name;

100

What is a Variable?

Variable is a named memory location.

200

List the primitive data types

Integer, 

Float,

Character,

String,

Boolean.

200

List the basic principles of Object-Oriented Programming.

Encapsulation,

Polymorphism, and

Inheritance.

200

List the different type of Literals.

Integer literal, Floating-point Literal, Character Literal, Boolean Literal, String Literal

200

Which keyword is used to define class?

"class" is a keyword to define class object.

200

How to allocate memory dynamically?

'new' keyword is used for dynamic memory allocation. 

300

what is Super class?

A superclass is a class that allow other classes to inherit its property