-
Polymorphism in Java – OOP – Code Example
In previous posts we have discussed many important topics of object oriented programming like classes, objects, inheritance etc. In this post we will discuss polymorphism in Java which is another important…
-
IS-A and HAS-A Relationships in Java – Code Example
Code reuse-ability is the fundamental objective of object oriented programming. To achieve code reuse-ability objective, we use IS-A, HAS-A relationships. IS-A relationship is another name of inheritance or we can…
-
Inheritance in Java OOP – Code Example 2
In previous post we learned about inheritance in Java programming by using simple code example. In this post we will consider another code example of inheritance in Java. In previous…
-
Inheritance in Java OOP – Code Example 1
In our previous post we learned how to create classes and objects by using code example. In this post we will learn inheritance which is another important object oriented programming (OOP)…
-
Classes and Objects in Java Programming – Code Example
In this post we will learn (java syntax) what are classes and objects in Java programming. Classes and objects are fundamental object oriented programming concepts. In previous post we discussed…
-
Basic Data Types in Java Programming – Example Code
In previous post we learned how to write a very simple hello world Java program. In this simple program we will explain what are some different data types in Java.…
-
Hello World Program in Java
In this post we will discuss and explain how to write a simple hello world program in java. To write, compile and execute a java program many IDE’s are available…
-
Introduction To Java Programming
There’s no doubt that java programming language is one of the most powerful programming languages out there in the world. Java is not just a programming language but a technology…