Techoceanhub logo

Category Java

Inheritance in Java

Inheritance in Java is considered to be of very important  concept, which deals with parent and child relationship, or in other words parent class and child class. But in Java we have to take care that parent class has to…

Let’s Learn Polymorphism in Java

Polymorphism is  very common word for everyone.  If we break polymorphism , the defination is quite clear, It is made up of two words, poly+morphism, which means many forms. Below there is a simple diagram which clearly explains types of…

How to write Hello World program in Java.

In this post I have added a simple video to show ” how to write a simple hello world program in Java” . There are not too many steps but when you write a program in eclipse , it turns…

Basic OOPS Concepts in Java

Do you know the full form of OOPS? The full form is Object-oriented Programming system. There are many concepts which are the part of OOPS and they are listed as:- Object Class Encapsulation Polymorphism Inheritance Abstraction   This is a…

Foundations of Java

This post is about basics and foundations on which Java stands like JRE, JVM and byte code, basic principles as well as the structure and how Java compiles and run  your program  and which command  is used to run  a…