What is Abstraction in Java?

What is Abstraction in Object Oriented Programming? Abstraction in java is used to hide the complexity of a system by exposing the method signature of the system but concealing its implementation. Java implements abstraction using interface and abstract class and so it would be easier to explain abstraction by explaining what interfaces and abstract classes … Read more

What is Object Oriented Programming?

What is Object Oriented Programming (OOP)? Object Oriented programming is a programming paradigm wherein all information is stored within the object and all ‘actions’ are performed by the objects. In the first tutorial, we explained the concept of Objects and classes. We defined “class” as a template that stores information about the state(customer’s name, address … Read more

Polymorphism in Java

What is polymorphism in Java? Polymorphism in Java is the principle by which an object can have multiple forms but each form conforms to a contract. Polymorphism can be thought of as a direct consequence of abstraction. In the earlier section, we say how abstraction separates method definition from its implementation. When we have two … Read more

Create AWS EC2 instance using CLI

In the previous tutorial we saw how to create AWS EC2 instance using the console. In this tutorial, we will learn how to create AWS EC2 instance using the CLI (Command Line Interface). create AWS EC2 instance using CLI What is Amazon CLI Amazon CLI stands for Amazon Client Line Interface. It is a command … Read more

Access Modifiers in Java

What are the Access Modifiers in Java? Access Modifiers in Java control access to classes, methods, and variables. There are four basic access modifiers and they are public, protected, private and no modifier (Default). We will use the word default instead of no modifier for the rest of the tutorial. Here’s a summary of the … Read more

Using Imports in Java and importing packages

What does the import statement in java do? In an earlier tutorial we saw an introduction to java. In this tutorial, we will look at using imports in java. To state it plainly – import statements allows us to use the name of the class in our code instead of its fully qualified name. What … Read more