A compilation of all the topics in the Java Basics Section, along with a brief explanation on their contents.
Note: If you’re new to Java, first check out our Getting Started with Java guide. We’ll walk you through the installation process and help you configure it in the best possible way.
Java Syntax: Syntax is the set of rules that define how code is written. This article goes through some basic rules on how Java code should be written.
Java Operators: An Article on Arithmetic, Logical, Bit wise, Comparison and Assignments Operators in Java, complete with examples.
Java Input: A guide on how to take user input using the Scanner Class, followed by an explanation on how to handle it effectively.
Java Data Types: An Article that goes through the various data types in Java with examples. Did you know about Mutable and Immutable Data types? If not, head over to the article.
Java Strings: Strings, one of the most basic data types in a programming language. A complete guide on strings, using them, parsing them and combining them with several built in functions Java has to offer.
Java Loops: An Overview on the various types of loops in Java, what sets them apart, and where to use which.
Java While Loops: The While loop repeats a code block while the given condition is true. When the condition becomes false, the loops terminates and program control passes to the line immediately following the loop.
Java Do While loops: The Do While loop is a post condition loop that repeats a code block while the given condition is true. When the condition becomes false, the loops terminates and program control passes to the line immediately following the loop.
Java For Loops: An individual close up analysis on For loops, how to use them effectively and in various scenarios. Complete with several examples.
Java if else: An individual close up analysis on if…else statements, how to use them effectively and in various scenarios. Complete with several examples.
Java Switch Statement: Another selection statement like the Java if else statement. Used if there is a large number of possible routes you wish to create. Depending on a certain condition, one these many route will be picked.
Java Methods: A methods is a reusable block of code that runs only when called. Methods saves time, increase re-usability and makes your code simpler to read. Confused about the difference between functions and methods? Read this post.
Java Time: Learn how to use time and date related functions in Java.
If you feel like our “Java Basics” section is lacking something, feel free to tell us, or you can even contribute your own article.