Computer Science, asked by TanzeeIimam, 7 months ago

name any three key words which are literals in Java​

Answers

Answered by anjanapinki
1

Answer:

follow me please

Explanation:

In the Java programming language, a Keyword is any one of 51 reserved words[1] that have a predefined meaning in the language; because of this, programmers cannot use keywords as names for variables, methods, classes, or as any other identifier.[2] Of these 51 keywords, 49 are in use and 2 are not in use. Due to their special functions in the language, most integrated development environments for Java use syntax highlighting to display keywords in a different colour for easy identification.

Answered by meenusingla3142
0

Answer:

There are the majorly four types of literals in Java:

Integer Literal.

Character Literal.

Boolean Literal.

String Literal.

Literals are data used for representing fixed values. They can be used directly in the code. For example: 1 , 2.5 , 'c' etc.

...

There are three types of integer literals in C programming:

decimal (base 10)

octal (base 8)

hexadecimal (base 16)

Explanation:

was this answer helpful?

Similar questions