• Post Reply Bookmark Topic Watch Topic
  • New Topic

Manual for Java syntax, and Java class libraries (API)  RSS feed

 
raymond hsu
Greenhorn
Posts: 23
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am new to Java Programming,
while reading one of the available JAVA books,
I wonder if there is authoritative manual for the Java Language syntax,
and complete documentation of all the rich class libraries (application programming interfaces),
so that I am able to know all the variation in the use of JAVA language and its class libraries.

Thank you.
 
Stephan van Hulst
Saloon Keeper
Posts: 7817
142
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the Standard API, check this link: https://docs.oracle.com/javase/8/docs/api/

For the definitive reference manual on Java's syntax, there's the JLS: https://docs.oracle.com/javase/specs/jls/se8/html/

The JLS is not recommended for beginning (or even intermediate) Java programmers. It's mostly useful if you really *really* need to know how the language works exactly.

To properly learn most of the Java syntax, you should go through Oracle's Java Tutorials: https://docs.oracle.com/javase/tutorial/
 
Tim Holloway
Bartender
Posts: 18715
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Language Specification isn't just the final authority on the syntax and semantics of the Java language, it's also the definitive specification for language implementers to use when creating a Java language implementation.

The Library specifications are the JavaDocs, and there are actually several sets of them. There's the core desktop version (http://docs.oracle.com/javase/7/docs/api/index.htm), there's the Enterprise classes (http://docs.oracle.com/javaee/6/api/index.html), which extend the desktop classes.

Then there are completely different implementations such as the Java CE classes defined for smaller devices which have their own JavaDocs.

And - until the lawyers get through messing things up - there are independent class libraries and their associated docs, such as the Android Dalvik system.

Plus. of course, for your own projects you can use the supplied javadoc utility to define your own classes.

The javadoc tool provides a general means of scanning a set of Java source classes and extracting information that can be formatted very flexibly. The default options produce a set of web pages, but you can write your own and even add extensions, so generating a printable PDF or an ebook are within its reach.

JavaDocs have the potential to contain everything needed to describe proper use of java packages, but most of them haven't been fleshed out to that degree, and I could name one or 2 that are so mindlessly generated as to be virtually useless. So in addition to the formal definitions in the JavaDocs, you'll often find related tutorials.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!