• Introduction and Overview of Java Programming
  • Welcome to the Core Java Tutorials series, be here for couple of weeks and follow the series step by step. You guys are going to view one of the best content over internet as if today. Let?s start our journey to be a Core Java expert by following this Java Programming Tutorials series.


  • Install Java and Environment Setup on Windows, Linux or Mac OS
  • In previous article we saw What is Java? Where and Why to use Java? And features of Java programming language. In this particular article we will see how to setup Java environment in local machine.


  • Java Basic Syntax and Hello World Example
  • Java is a simple and easy to understand programming language, most of its syntax is inherited from c and c++. In Java, classes are the root of each program written, everything goes under a class.


  • Datatypes and Variables in Java Programming
  • In general programming terms a variable is a symbolic name that points to some reserved storage location. Every storage location that is pointed by a variable can consists of some value or it can be empty, that means a variable is an identifier for some value so that the operations can be performed on that value.


  • Operators in Java
  • In this article we will see 'What are available Operators in Java in Java', and how to use them with example.


  • Object Oriented Programming Paradigm - OOPS
  • Java is an object oriented programming language, a language is considered as a programming language if that language has following properties. 1) Abstraction 2)Inheritance 3) Polymorphism 4) Encapsulation


  • Inheritance in Java with Example
  • In this article we will see 'What is Inheritance in Java', How to used it, super class and sub classes with example.


  • Method overriding in Java with example
  • In this article we will see 'What is method overriding in Java', and how to use it with example.


  • Method overloading in Java with example
  • In this article we will see 'What is method overloading in Java', and how to use it with example.


  • "this" keyword in Java with example
  • In Java "this" keyword is used to refer the current object, and can be used to call current class constructor.


  • "super" keyword in Java with example
  • In Java, super keyword is used to refer to immediate parent class of a child class. In other words super keyword is used by a subclass whenever it need to refer to its immediate super class.


  • Access Modifiers in Java with Examples
  • In Java there are three access modifiers public, private and protected but there is one more access level called default. If any class, method or variable does not have public, private or protected access level than the access level is called default. So in Java everything has a access level, at least default.


  • Java Loops - for, while and do-while
  • In this article we will see looping in Java, loops are used to execute a block of code saveral times. There are three types of loops in Java, for loop, while loop and do-while loop. We will see their syntax and usage with example in rest part of this article.


  • Java Decision Making - if else and switch statements with example
  • If-else statements are most commonly used decision making keywords in any programming language and hence in Java. If-else statements works on the basis of a conditional expression in if(condition_expression), if the condition returns true than the code in if?s body executes and if the expression returns false than code in else?s body executes. Here is a basic syntax of simple if-else statement.


  • Arrays in Java - Declaration, Initialization and Iterating through an Array in Java
  • In this article we will learn about Array Declaration, Initialization and Iteration in Java. We will come to known ways of array declaration, assigning values to an array and iteration through an array to access values.


  • Object and Classes in Java with example
  • Java is a object oriented programming language, that means it solves problems by mapping them to real world objects.

    An object-based Java application is a Java application whose design is based on declaring classes, creating objects from them, and designing interactions between these objects.


  • Methods and variables in Java with example
  • Method describe behaviour of an object. A method is declared to perform an operation and has statements (logic) to be performed on the instances of the class.


  • Constructors in Java with example
  • In Java a constructor is a special type of method, which is used to instantiate (create an object) the class.

    A constructor must have the same name as the name of the class, it may be parameterised or without any parameter, constructors are solely used to instantiate a class and do not have return value.


  • Abstract classes in Java with Example
  • In this article we will see what are 'Abstract classes in Java', and how to use them with example.


  • Interfaces in java, declaration and Implementation with Examples
  • Interfaces are kind of a contract in Java Programming, what contract means here is you can have a number of method declared in an interface and every class that is implementing this interface must implement all methods of the interface, for example you can have a interface Car like:


  • Java packages and Import statement with Example
  • In this article we will see what are 'Java packages and Import statement in Java', and how to use Java packages with example.


  • Type Casting in Java
  • In this article we will see 'Type Casting in Java', and how to use Type Casting with example.


  • String Handling in Java with Example
  • In this article we will see what are 'Java Strings', and how to define and use Strings in Java with example.


  • Nested Inner Classes in Java
  • In this article we will see about 'Nested Inner Classes in Java', and how to use Nested Class with example.


  • How to create an Immutable class in Java - Example
  • An immutable class in Java is a class, whose object's states can not be changed once created like String, Integer, Float etc. In this article we will see what is an Immutable class, what are benefits of having an Immutable class and how to construct a perfect immutable class in Java.


  • Enums in Java, Declaration and Implementation with Example
  • In this article we will see about Enums in Java, we will come to know what is Enum in Java?, How to declare a Enum and How to access Enum values. Enum were introduced in Java5.0 to restrict the value of a variable to some predefined options, this can reduce bugs in applications.


  • How to override hashCode() and equals() methods in Java - Example
  • In this article we will see ?hashCode()? and ?equals()? methods from java.lang.Object class in details. We will see different implementations and how to override them in efficient manner.


  • How HashMap works in Java or Internal Working of HashMap
  • One of the most popular and frequently asked question from Core Java interview is, How HashMap works in Java or Internal Working of HashMap or How get() and put() methods of HashMap works or How HashMap ensures uniqueness of its keys.


  • Exception Handling in Java
  • In this article we will see 'Exception Handling in Java', Throwable class, and Java Exception hierarchy.


  • Exception Handling using try, catch in Java
  • In this article we will see 'What is try and catch in Java', and how to use them with example.


  • 'throw','throws' and 'finally' keyword in Java Exception handling
  • In this article we will see 'What is finally keyword in Java', and how to use finally with combination of try and catch with example.


  • User defined exceptions in Java with Example
  • In this article we will see what are 'User defined exceptions in Java', and how to define and use user defined exceptions with example.


  • What is Garbage Collector and How it works in Java with example
  • Like any other programming language, java programs too needs some memory to perform its operations. The memory is divided in a number of regions like Stack, Heap , Method Area .. etc.

    All Java objects live and die in Heap Memory and this is the only part of memory where Garbage Collector performs its operations.


Like Us

Related Sections

Programming

Java Programming Arrays, Class & Ob...

JPA

Java Persistence API (JPA) Tutorial...

Spring Framework

Spring Framework, Sprinig IOC, CORE...

Java 8

Java 8 Tutorials, lambda expression...

Top Sections