Information from ModeratorsEdit
- This section is written by experienced Java Coders from the HiddenRSPS Development Team.
- The part about Java Coding is not suitable to be edited by the public.
- It is off-limits to every contributor to edit this area.
- This area might have very complex words & codes which must be understood first by your own brain.
- Happy learning!
Introduction to Java LanguageEdit
Java language is a highly complex programming language. In the Java programming language, all source code is first written in plain text files ending with the .java extension. Those source files are then compiled into .class files a the javac compiler. A .class file does not contain code that is native to your processor; it instead contains bytecodes — the machine language of the Java Virtual Machine (Java VM). The java launcher tool then runs your application with an instance of the Java Virtual Machine.
Because the Java VM is available on many different operating systems, the same .class files are capable of running on Microsoft Windows, the Solaris™ Operating System (Solaris OS), Linux, or Mac OS. Some virtual machines, such as the Java SE HotSpot at a Glance, perform additional steps at runtime to give your application a performance boost. This include various tasks such as finding performance bottlenecks and recompiling (to native code) frequently used sections of code.
Java Coding: Learning the LanguageEdit
This part is where we have to split the lesson into what we called trails. Each trail covers a particular unit like a chapter in a textbook. The following list shows the trails in the learning process of Java Language. For further advance of the lessons, click on each trail in the table below.
|Object-oriented Programming Concepts||This trail introduces the core concepts behind object-oriented programming: objects, messages, classes, and inheritance.|
|Language Basics||This trail describes the traditional features of the language, including variables, arrays, data types, operators, and control flow.|
|Classes & Objects||This trail describes how to write the classes from which objects are created, and how to create and use the objects.|
|Interfaces & Inheritance||This trail describes interfaces — what they are, why you would want to write one, and how to write one. This section also describes the way in which you can derive one class from another. That is, how a subclass can inherit fields and methods from a superclass. You will learn that all classes are derived from the Object class, and how to modify the methods that a subclass inherits from superclasses.|
|Numbers & Strings||This trail describes how to use Number and String objects. The lesson also shows you how to format data for output.|
|Generics||Generics are a powerful feature of the Java language. They improve the type safety of your code, making more of your bugs detectable at compile time.|
|Packages||Packages are a feature of the Java language that help you to organize and structure your classes and their relationships to one another.|
Java Coding: Java Platform EnvironmentEdit
The Java Platform Environment contains the classes from the Java platform that are essential to most programmers.
|Exceptions||The Java language uses exceptions to handle errors and other exceptional events. This trail describes when and how to use exceptions.|
|Basic I/O Relationships||I is input while O is output. This trail covers the Java platform classes used for basic I/O. It first focuses on I/O Streams, a powerful concept that greatly simplifies I/O operations. The lesson also looks at serialization, which lets a program write whole objects out to streams and read them back again. Then the lesson looks at File I/O and file system operations, including random access files.|
|Concurrency||This trail explains how to write applications that perform multiple tasks simultaneously. The Java platform is designed from the ground up to support concurrent programming, with basic concurrency support in the Java language and the Java class libraries. Since version 5.0, the Java platform has also included high-level concurrency APIs. This trail introduces the platform's basic concurrency support and summarizes some of the high-level APIs in the java.util.concurrent packages.|
|The Java Platform||An application runs in a platform environment, defined by the underlying operating system, the Java virtual machine, the class libraries, and various configuration data supplied when the application is launched. This trail describes some of the APIs an application uses to examine and configure its platform environment.|
|Expressions||Regular expressions are a way to describe a set of strings based on common characteristics shared by each string in the set. They can be used to search, edit, or manipulate text and data. Regular expressions vary in complexity, but once you understand the basics of how they're constructed, you'll be able to decipher (or create) any regular expression. This trail teaches the regular expression syntax supported by the java.util.regex API, and presents several working examples to illustrate how the various objects interact.|
Java Coding: Java Collections FrameworkEdit
Java Collections Framework comprises interfaces, implementations, and algorithms. Here you will learn what collections are and how they can make your job easier and programs better.
Java Coding: Programs & ApplicationsEdit
This area introduces Java Applets and Web Start Applications, how to code them and host it online.
Java Coding: Graphical User Interfaces (GUI)Edit
Java Coding: Java Language SpecificationsEdit
This section contains the specifications but not compulsary sections of the Java Language.