Computer Science, asked by ritimaurya, 1 year ago

what is the reserved word in Java give example​

Answers

Answered by jayanth427
2

variable names,function names class


ritimaurya: thanks
Answered by rutanshvisharma15
8
<marquee>Java

reserved words are

keywords that are

reserved by Java

functions or other uses

that cannot be used as

identifiers (e.g., variable

names, function names,

class names). If a reserved

word was used as a

variable, you would get an

error or unexpected result.

The list of reserved words

in Java is provided below.

List of Java reserved words

abstract

assert

boolean

break

byte

case

catch

char

class

const

default

do

double

else

enum

extends

false

final

finally

float

for

goto

if

implements

import

instanceof

int

interface

long

native

new

null

package

private

protected

public

return

short

static

strictfp

super

switch

synchronized

this

throw

throws

transient

true

try

void

volatile

while

continue

jayanth427: yes
jayanth427: is it correct
rutanshvisharma15: ohk
jayanth427: kk
Similar questions