JAVA KEYWORDS

This is very helpful article for IT aspirants .

Guided by Bipin Ajay

Java Keywords

Table 1. Java Keywords

abstract

assert

boolean

break

byte

case

catch

char

class

const

continue

default

do

double

else

enum

extends

final

finally

float

for

goto

if

implements

import

instanceof

int

interface

long

native

new

package

private

protected

public

return

short

static

strictfp

super

switch

synchronized

this

throw

throws

transient

try

void

volatile

while

Keywords goto and const are reserved, but never used.

Keyword strictfp was added in Java 1.2.

Keyword assert was added in Java 1.4.

Keyword enum was added in Java 1.5.

In addition to these 50 keywords, Java also defined three special literals: truefalse, and null.

Keywords in our HelloWorld program are in bold:

public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}

Visit Again … Thnk You ..

Tech Jitendra

Published by Tech Jitendra Direct Investing

Tech Jitendra Direct Investing (TJDI) Empoworing Your Wealth

Leave a comment

Design a site like this with WordPress.com
Get started