Introduction to Java
Java is an object-oriented programming language that was developed by James Gosling from Sun Microsystems in 1995. The purpose of developing java is to allow developing interactive applications, general purpose business application, and web applications.
As such java is general purpose programming language, this can be used to develop and deploy for a variety of applications. Java based applications are deployed in stock exchanges, banking applications, games and these days in mobile applications as well(Android based applications is an example).
Java is the preferred platform by large enterprises for developing their systems.
About Java tutorial
The purpose of this tutorial is to target beginners who have no idea about java programming language. You will, as a beginner, learn basics about java like basic syntax, basic data-types, decision making statements (if, else…), loops (for, while etc.), functions, arrays etc.
Topics related to advanced learners are also covered in this tutorial. The tutorial also covers basics about Object Oriented concepts like Inheritance, Polymorphism, Abstraction, encapsulation, abstraction, packages etc., classes and objects, methods, working with date and time, working with files input/output (I/O) etc. Besides Collectors, Generics, Networking, Sterilization, Multi-threading etc. are also covered in this tutorial.
Examples in this tutorial
Almost in each tutorial example codes are given for illustration purpose. This would help in the understanding of that specific topic. The code is made prominent in a special area within tutorial so you can copy and paste it to your IDE and then execute to learn.
Alternatively, you may also click on links given with examples to see the graphic of code and its output. Generally, the left side of example page contains the code of example while the right side contains the output of graphic.
This tutorial is designed for beginners though it covers advanced features as well. You should have a basic understanding of computer programming and its terminologies.
Find below list of chapters covered in java tutorial for beginners and advanced level.
List of chapters
The Java tutorial includes following chapters:
- What is Java
- Java download
- Basic syntax of java
- Java data types
- Variables in Java
- Java If .. else (Decision making)
- Loops in Java
- Java Arrays
- Object Oriented Java
- Java Collection
- Java Strings
- Java Exceptions
- What is Java – learn Java online
- Download java 32 bit or 64 bit for Windows
- Download Java as JVM or JRE to your system
- A Python programming tutorial for beginners and advanced learning
- 2 examples for formatting dates by Java SimpleDateFormat class
- Java exception / error handling by try catch: 4 demos
- What is Java.lang.NullPointerException error and how to handle it
- java.lang.ArrayIndexOutOfBoundsException error and solution