By James Gosling Bill Joy Guy L. Steele

Written via the inventors of the know-how, The Java Language Specification is the definitive technical reference for the Java programming language. It offers whole, exact, and targeted insurance of the full language and its syntax. if you would like to grasp the suitable which means of Java's constructs, this can be the resource for you.

Show description

Read or Download The Java(TM) Language Specification PDF

Best programming: programming languages books

Essential Java Fast : How to write object oriented software for the Internet

Java is a brand new and intriguing object-oriented programming language that's set to remodel the realm extensive internet. Java permits clients to put in writing purposes which might be accessed throughout assorted structures and offers an efficient technique of development small yet strong courses that allow an incredible diversity of recent purposes - akin to animation, reside updating, two-way interactions and so on.

Designing SQL Server 2000 Databases. for .Net ™ Enterprise Servers

The Microsoft . internet initiative is the way forward for e-commerce - making it attainable for firms to construct a safe, trustworthy e-commerce infrastructure. this is often the 1st booklet to stipulate the services of SQL Server 2000, one of many key elements of . internet. SQL Server 2000 introduces robust new info mining performance designed particularly to catch and technique purchaser profiles and to foretell destiny purchasing styles on e-commerce websites.

Additional resources for The Java(TM) Language Specification

Example text

For example, the syntactic definition: IfThenStatement: if ( Expression ) Statement states that the nonterminal IfThenStatement represents the token if, followed by a left parenthesis token, followed by an Expression, followed by a right parenthesis token, followed by a Statement. As another example, the syntactic definition: ArgumentList: Argument ArgumentList , Argument states that an ArgumentList may represent either a single Argument or an ArgumentList, followed by a comma, followed by an Argument.

Each production has an abstract symbol called a nonterminal as its left-hand side, and a sequence of one or more nonterminal and terminal symbols as its right-hand side. For each grammar, the terminal symbols are drawn from a specified alphabet. Starting from a sentence consisting of a single distinguished nonterminal, called the goal symbol, a given context-free grammar specifies a language, namely, the infinite set of possible sequences of terminal symbols that can result from repeatedly replacing any nonterminal in the sequence with a right-hand side of a production for which the nonterminal is the left-hand side.

A floating-point literal has the following parts: a whole-number part, a decimal point (represented by an ASCII period character), a fractional part, an exponent, and a type suffix. The exponent, if present, is indicated by the ASCII letter e or E followed by an optionally signed integer. At least one digit, in either the whole number or the fraction part, and either a decimal point, an exponent, or a float type suffix are required. All other parts are optional. A floating-point literal is of type float if it is suffixed with an ASCII letter F or f; otherwise its type is double and it can optionally be suffixed with an ASCII letter D or d.

Download PDF sample

Rated 4.45 of 5 – based on 49 votes