Core Java tutorial

This is the index post for Core Java tutorial for beginners as well as for experienced programmer. I have written Core Java tutorial from basic to advanced topics.It will definitely help you learn Java in the better way.

Core Java tutorial


import_contacts

Chapter 2: Java Control Statements

Java control statements control the order of execution based on some conditions or looping statements. It includes for, do, do while, if else, Switch case, continue and break statements etc.


import_contacts

Chapter 3: Object Oriented Programming concepts

OOPs concepts are the building blocks of Java language.Four most important concepts of Java are : Abstraction, Encapsulation, Inheritance, Polymorphism.

Java tutorial for experienced Programmers


import_contacts

Chapter 5: Java Multithreading

Thread can be called as light weight process. Java supports multithreading, so it allows your application to perform two or more task concurrently.  Multithreading can be of advantage especially when nowadays, the machine has multiple CPUs, so multiple tasks can be executed concurrently.It is very important part of core java tutorial.


import_contacts

Chapter 6: Java Executor Framework

Java 5 has introduced new concurrent API called “Executor frameworks” to make programmer life easy. It simplifies design and development of multi-thread applications. It consists of mainly Executor, ExecutorService interface and ThreadPoolExecutor class which implements both interfaces i.e. Executor and ExecutorService. ThreadPoolExecutor class provide the implementation of thread pool.


import_contacts

Chapter 7: Java Concurrency util

Java 5 has added a new package java.util.concurreny.This package includes lots of classes which makes easier to develop multithreaded application.


import_contacts

Chapter 8: Java Serialization

Serialization is one of the most important concept in Java. If you are going to face the core java interview, then you might be asked some questions from Serialization.

Java provides a mechanism called serialization to persists Java objects in a form of ordered or sequence of bytes that includes the object’s data as well as information about the object’s type and the types of data stored in the object


import_contacts

Chapter 9: Java Exception Handling

An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program’s instructions. It is very important part of the core java tutorial.


import_contacts

Chapter 13: Memory


import_contacts

Chapter 14: Java Interview Programs

That’s All about Core Java tutorial for beginners as well for an experienced programmer.

I will keep adding more links to this core java tutorial. If you have any topic for the suggestion, please do comment.

Related Posts

  • Break out of nested loop in java
    22 July

    How to break out of nested loops in Java

    Table of ContentsUsing break (will break inner loop)Using named loopUsing named blockUsing returnConclusion In this post, we will see how to break out of nested loops in Java. Using break (will break inner loop) It is very important to understand how nested loops work to ensure that applying break will output the desired result. If […]

  • public static void main(String args[]) - Java main method
    11 June

    public static void main(String[] args) – Java main method

    Table of ContentsWhy is the main method so important?SyntaxExplanation of the KeywordsExamples of Java main method ProgramsSimple Java ProgramPassing arguments in the main methodNon-Public main method.Defining a return value for the main methodOverloading the main methodQuestionsCan we run java without main method?Can we have more than one main method in classConclusion If you have worked […]

  • Java projects for beginners
    30 April

    Top 20 Java Projects for Beginners

    This tutorial provides the top 20 java projects for beginners for practice. These projects will help you to learn java quickly and efficiently.

  • How to end program in java
    08 March

    How to end program in java

    Table of ContentsUsing System.exit() to end java programExample to demonstrate System.exit() methodHow to end java program in an if statement in javaUsing return to end current method Ho In this post, we will see how to end program in java. You can use System.exit(0) to end program in java. Using System.exit() to end java program […]

  • 25 September

    Reference Variable in Java

    Table of ContentsReference variableStatic Reference VariableInstance Reference VariableLocal Reference Variable In this post, we will see about Reference variable in java. Reference variable A variable that holds reference of an object is called a reference variable. Variable is a name that is used to hold a value of any type during program execution. If the […]

  • 26 March

    Global variables in java

    In this post, we will see how to define global variables in java. Unlike C/C++, there are no standard global variables in java but you can still define global variables that can be used across all classes. Global variables are those variables that can be accessed across all the classes. Java does not support global […]

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe to our newletter

Get quality tutorials to your inbox. Subscribe now.