Java program to print an integer value In this tutorial, we discuss the simple concept of Write a Java program to print an integer problem – How to write a program to print an integer in Java? In this article, we are going to learn How to write a program to print an integer in…
Category: Java Notes
How to download and install Java on Windows
How to download and install Java on Windows In this tutorial, we explain how to download and install Java. Java is a class-based and object-oriented programming language which has better features than other languages. It is more secure, portable, platform-independent and high performance. We can get Java from the Oracle Java download page. There are…
Interface in Java programming language
Interface in java programming language In this tutorial, we will discuss the Interface in Java programming language An interface in Java similar a class but it is not a class. It is the blueprint of a class. An interface can contain any number of data-members and methods with an empty implementation. A Java interface…
Inheritance in Java programming language
Inheritance in Java programming language In this tutorial, we will discuss the subject of Inheritance in Java programming language Inheritance is one of the most effective concepts or feature of Oop paradigm. This helps to establish a link or connectivity between two or more classes. Inheritance helps to access properties(State and behaviours) and methods of…
Single level inheritance in Java language
Single level inheritance in Java language In this tutorial, we will discuss the concept of single-level inheritance in Java language Single level inheritance is one of the techniques in Java. It is easy to understand, a class acquires the properties of (data members and methods) another class. The diagram below indicates that class B extends…
Hierarchical inheritance in java language
Hierarchical inheritance in java language In this tutorial, we will discuss the subject of Hierarchical inheritance in java language Hierarchical inheritance is when multiple classes inherit from a single class. There are one parent (super) class and many children(sub) classes. Hierarchical inheritance is supported in Java. In the example below, class B, class C and…
Constructor in Java programming language
Constructor in Java programming language In this tutorial, we will discuss the concept of Constructor in Java programming language. Constructor is a group of codes which are similar to a method. Purpose of the constructor is to create an object(instance)in a class. We may perceive constructor as a special type of method. A constructor must…
Variable type in Java programming language
Variable type in Java programming language In this tutorial, we will discuss a concept of variable type in Java programming language what is variable? the variable is the name of the reserved area, which is allocated in memory for executing Java programs. A variable is assigned using the data type Variable is a space…
Java programming language introduction
Java programming language introduction In this tutorial, we will discuss the Java programming language introduction java Basic Notes Java language is a very popular programming language among a lot of programmers with many advantages.Java is an object-oriented programming language.It is a simple programming language because developing and debugging is very easy Java History Java was…