List the keywords which are used in java 1.1, JAVA Programming

Assignment Help:

List the keywords which are used in java 1.1?

The list of keywords which are used in java 1.1 are given below:

Keyword

Purpose

boolean

declares a boolean variable or return type

byte

declares a byte variable or return type

char

declares a character variable or return type

double

declares a double variable or return type

float

declares a floating point variable or return type

short

declares a short integer variable or return type

void

declare that a method does not return a value

int

declares an integer variable or return type

long

declares a long integer variable or return type

while

begins a while loop

for

begins a for loop

do

begins a do while loop

switch

tests for the truth of various possible cases

break

prematurely exits a loop

continue

prematurely return to the beginning of a loop

case

one case in a switch statement

default

default action for a switch statement

if

execute statements if the condition is true

else

signals the code to be executed if an if statement is not true

try

attempt an operation that may throw an exception

catch

handle an exception

finally

declares a block of code guaranteed to be executed

class

signals the beginning of a class definition

abstract

declares that a class or method is abstract

extends

specifies the class which this class is a subclass of

final

declares that a class may not be subclassed or that a field or method may not be overridden

implements

declares that this class implements the given interface

import

permit access to a class or group of classes in a package

instanceof

tests whether an object is an instanceof a class

interface

signals the beginning of an interface definition

native

declares that a method is implemented in native code

new

allocates a new object

package

defines the package in which this source code file belongs

private

declares a method or member variable to be private

protected

declares a class, method or member variable to be protected

public

declares a class, method or member variable to be public

return

returns a value from a method

static

declares that a field or a method belongs to a class rather than an object

super

a reference to the parent of the current object

synchronized

Indicates that a section of code is not thread-safe

this

a reference to the current object

throw

throw an exception

throws

declares the exceptions thrown by a method

transient

This field should not be serialized

volatile

Warns the compiler that a variable changes asynchronously

Two another keywords, const and goto, are reserved through Java but are not actually implemented. This permitted compilers to produce better error messages if these general C++ keywords are improperly used in a Java program.

Java 1.2 adds the strictfp keyword to declare in which a method or class must be run along with exact IEEE 754 semantics.

Java 1.4 adds the assert keyword to specify assertions.

Java 5 adds assert and enum.

true and false appear to be missing from this list. Actually, they are not keywords but rather boolean literals. You still can't use them as a variable name by.


Related Discussions:- List the keywords which are used in java 1.1

Point of Sale Terminal, The problem statement is pretty simple. We need a s...

The problem statement is pretty simple. We need a software implementation of a Point of Sale terminal at a typical store. The users of the system are the cashiers sitting at the sa

What is dynaactionform, A specialized subclass of ActionForm that permits t...

A specialized subclass of ActionForm that permits the creation of form beans with dynamic sets of properties (configured in configuration file), without requiring the developer to

What is the point-to-point model in jms, A point-to-point model is based on...

A point-to-point model is based on the concept of a message queue: Senders send messages into the queue, and the receiver reads messages from this queue. In the point-to-point mode

What is externalizable interface, What is Externalizable interface? Ext...

What is Externalizable interface? Externalizable is an interface which have two methods readExternal and writeExternal. These methods give you a control over the serialization

Binary search tree, You will be required to create an ADT for a Binary Sear...

You will be required to create an ADT for a Binary Search Tree (BSTInterface.java). The interface will be implemented as a Binary Search Tree (BST) using a reference based format.

What is a jointpoint, A joinpoint is a point in the implementation of the a...

A joinpoint is a point in the implementation of the application where an aspect can be plugged in. This point could be a method being called, an exception being thrown, or even a f

What is jdbc exactly, What is JDBC exactly? Describe the steps required to ...

What is JDBC exactly? Describe the steps required to execute a SQL query using JDBC.

Write a program in javascript that will read in an xml file, Write a progra...

Write a program in Javascript that will read in an XML file. This file will contain details of devices maintained by the IT department of an organisation including an ID number, de

What are the different modules in spring framework, Different modules in sp...

Different modules in spring framework are:- a)  The Core container module b)  AOP module (Aspect Oriented Programming) c)  Application context module d) JDBC abstractio

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd