A compilation of advanced Java topics on our Site CodersLegacy. This section is the sequel to the Java Basics section.
Java Classes: In Java, classes play a larger than usual role. This is apparent since everything in Java occurs within classes. A class is a template or blueprint that defines the form of an object. It defines the code and data that it will use. Using this “blueprint” or “template” the object is then created.
Java File Handling: Using files to store and load data is a key part to many applications. Learn how to create, delete, edit and load files with this guide.
Java Variable Scope: Covers the concepts of code blocks and scopes in Java. There are two kinds of Scopes, local and global. Each code block has it’s own local scope, which refers to the area within it’s curly brackets. Furthermore, the global scope refers to the whole Java Program.
Java Exception Handling: Having an error pop up during your program results in a failure of the entire program. This issue goes unnoticed while making small scripts, but when making actual programs or software, it becomes compulsory to “handle” any errors thrown. Handling an error successfully will allow your program to continue as normal even if an error is thrown.
Java CSV Parser (Apache): CSV, or “Comma Separated Values” is a type of data storage. Compared to other storage types, CSV files are generally faster, easier to understand (for a human) and the data is easily accessible through the use of code as well. The Apache Commons CSV parser is one of the many CSV parsing libraries available in Java.
This marks the end of the Java Advanced section. Note that this is an ever growing section that is constantly expanding. Henceforth, any suggestions or contributions are more than welcome. Any questions can be directed towards the comment section below.