Core Java Tutorial news

This core java tutorials will introduce you about Java Programming Language.You will learn the basics and core java concepts in this tutorials. You will learn how to write a java program and how to compile and run.Before compile your java application you need to download JDK(Java Development Kit) in your machine and need to Install.

Interface Example Program in Java

Interface Example Program in Java. You can find Interface Example Program (code snippets) in this page. interface Shape{ void draw(); } class Rectangle implements Shape{ public void draw(){ System.out.println(“Drawing Rectangle”); } } class InterfaceDemo{ public stati Read More..

Constructor in java and Use of this keyword in Java

In this tutorial you will learn about how to use Constructor in java and Use of this keyword in Java.Constructors
A constructor is a special method that is called to create a new object.
PolicyHolder policyHolder = new PolicyHolder();
It is not mandatory for the coder to write a constructor for the class.