Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Where can I find authoritative descriptions of the Java language (not its classes and methods)?

  1. #1
    Junior Member
    Join Date
    Sep 2021
    Location
    Midwest US
    Posts
    15
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Where can I find authoritative descriptions of the Java language (not its classes and methods)?

    I've been using Oracle's documentation and tutorials to learn the language. Strangely, their tutorials only cover Java 8, while their current Java is 17. (!) This means that what little there is in their tutorials about the Java language are just a bit out of date; in fact, each page of their tutorial admits just that:

    "The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available.
    See Java Language Changes for a summary of updated language features in Java SE 9 and subsequent releases.
    See JDK Release Notes for information about new features, enhancements, and removed or deprecated options for all JDK releases."

    This means that in quite a few places the tutorials aren't very helpful; for example, the Java 17 documentation shows that Java now has switch/case logic which accepts expressions as well as constants in its case parts (what a good idea); but it also shows examples of "switch statements" and "switch expressions" as well. Their tutorial only shows what Java 17 calls a switch statement; somewhere between Java 8 and Java 17 the switch expression crept in.

    The tutorials have a section called "Language Basics" that describes variables, operators, expressions, statements, blocks and control flow statements for Java 8, but I can't find anything int the Java 17 documentation because it seems to document everything except the above parts of the java language.

    Also, both the tutorials and the documentation freely fling about terms whose meanings are not always obvious, but there is no glossary of these terms.

    This seems to me a very strange way to document a computer language?

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Where can I find authoritative descriptions of the Java language (not its classes and methods)?

    Try the language specifications: https://docs.oracle.com/javase/specs/
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Sep 2021
    Location
    Midwest US
    Posts
    15
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Where can I find authoritative descriptions of the Java language (not its classes and methods)?

    Thank you.

Similar Threads

  1. Need help with calling methods from classes - Java Assignment
    By seph in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 10th, 2012, 08:12 PM
  2. Why and where abstract methods & classes and static methods are used?
    By ajaysharma in forum Object Oriented Programming
    Replies: 7
    Last Post: July 14th, 2012, 01:16 AM
  3. Methods In Different Classes
    By Khadafi in forum Java Theory & Questions
    Replies: 2
    Last Post: January 11th, 2012, 06:38 PM
  4. classes and methods??
    By paddy1 in forum Member Introductions
    Replies: 1
    Last Post: May 20th, 2011, 09:02 AM