0% found this document useful (0 votes)
1 views1 page

answer

The document discusses various fundamental concepts in Java programming, including the definition of classes, objects, abstraction, and data types. It differentiates between compilers and interpreters, explains tokens, literals, keywords, identifiers, and variables, and introduces operators, escape sequences, and encapsulation. Additionally, it touches on primitive and non-primitive data types and logical operators.

Uploaded by

neelamsahun41
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views1 page

answer

The document discusses various fundamental concepts in Java programming, including the definition of classes, objects, abstraction, and data types. It differentiates between compilers and interpreters, explains tokens, literals, keywords, identifiers, and variables, and introduces operators, escape sequences, and encapsulation. Additionally, it touches on primitive and non-primitive data types and logical operators.

Uploaded by

neelamsahun41
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Why is class called an object factory?

Why object is an instance of class

Define abstraction

Why is class composite data type

Anwer in 109page no

Differentiate betweene compiler and interpreter

Interpreter➡️Translates code frome high level language to machine language but it translates
line by line .

compiler➡️translates the entire code from high level language to machine level language.

What are tokens

The smallest individual entity in java is called token ex identifiers etc.

What are literals= literals are the constant values that appear directly in the program(124) dekh lena exh

What are keywords = keywords are reserved words with a specific meaning in java

What are identifiers = An identifier in Java is the name given to Variables, Classes, Methods, Packages,
Interfaces, etc

What are variables= Variables in Java are containers that store data that can be changed during a
program's execution

What are data types== A data type is a characteristic of a variable that determines what kind of data it
can hold

What are primitive and non primitive data types 127

What are operators page no 136 se padh lena kayi question mil jayenge

Define unary and binary operators 137

what is escape sequence 129 Escape sequences are used to signal an alternative interpretation of a
series of characters. In Java, a character preceded by a backslash (\) is an escape sequence.

what are logical operators 141

what is encapsulation =Encapsulation is defined as the wrapping up of data under a single unit.

129- separators& punctuators

You might also like