Techoceanhub logo

Year 2020

Handling Exception through try, catch, finally.

In the previous post we learned that how exceptions are created and here we are going to see what keywords are used to handle exception, and they are try, catch and finally. Below there is a structure explaining the  methodology…

Exception Handling in Java

Exception handling is a concept which handles problems or exceptions which arise during normal execution of a problem, in this scenario normal execution of a program gets disrupted. For example, a file which we are trying to open can not…

Abstraction in Java

Abstraction is the process of hiding the implementation details and  showing the required functionality to the user. In Java abstraction is achieved through abstract classes and interfaces. Some Features of abstract classes. In abstract class there are both abstract and…

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…

Some useful directives of VueJS: v-bind, v-once, v-html

Vue.js is an open source progressive JavaScript framework used to develop interactive web interfaces. Vue.js focusses mainly on the view layer of the application and offers a lot of functionality. Also, can be used  for single page application development. Directives…

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…

Simple Vue.js Program for beginners

Vue.js is very popular and excellent choice to start with Java script framework. It is often considered as powerful to build large web applications including small ones. It uses Html embedded code to make the front end development easier and…

Android Jetpack

Jetpack is a box of libraries that help developers to follow best practises in coding, and reduce boilerplate code. These libraries are available in Google Maven repositoryMany jetpack libraries provide Android KTX extensions as shown below. dependencies {def lifecycle_version =…