Image source: Google images

Hi there, I have worked with many organizations in my software testing career but I still cherish my first day at my first Company.

The memory of joining my first team as a ‘fresher in Testing’ in my first company is still alive in my eyes like it has happened yesterday. Being unaware of the work culture, the work process, the team, and my manager, I was intimidated by the whole situation. I remember it was day 1 at the office. I had reached 15 minutes prior to 9:00 O’clock in the morning ( Punctual person) and greeted everyone whomever…


Image Credit: Google/Hackr.io

This is one of the very important concepts in Java and an important question in interviews as well. So, let's revise what is a constructor, types, and uses?

What is a Constructor?

  1. Constructor is like a method that is invoked automatically when an object of a class is instantiated.
  2. Constructor has the same name as your class name.
  3. Constructor does not have any return type.
  4. It can be used to set values to object variables.

Example:

public class LinkedIn()

{

private String Full_Name;

private String Profile_Name;

private String Job_Role;

}

//constructor

LinkedIn()

{

Full_Name = ”Mukta Sharma”;

Profile_Name = “Mukta Sharma”;

Job_Role = “QA…


Image Credit: Google/scientech easy

Hey there, until now, we have covered Inheritance, Polymorphism, and Encapsulation concepts in Java. Today, let us discuss “Abstraction” in Java which is one more important feature in OOP (Object Oriented Programming).

What do you mean by Abstraction?

When implementation details are hidden and only functionality is visible to the user, the process is termed as “Abstraction”.

Example:

As the diagram shows, ATM where a person is withdrawing cash. He inserts his card to withdraw cash or to check the amount in his account. In this scenario, implementation details are hidden from the user. He receives the cash through the machine ( which is only visible…


Image courtesy: google

Hi All, Suppose you apply for a testing job. Your profile gets shortlisted and you get an interview call. 🤩Isn’t that a great feeling? We feel as if we won the half marathon. This is good to stay motivated but we have a long way to grab that offer letter. So, buckle up, and let’s find out what the answer entails.

Are you ready to face the job interview? Have you prepared yourself fully for the interview-questions which you might think interviewer will ask you?

Let me explain one of the important interview questions in software testing…


Image Credit: Sitesbay/Google

What is Encapsulation?

Hi there, in today’s article, we will discuss another important feature of OOP (Object Oriented Programming) language called — “Encapsulation”. As the above diagram displays, when variables or methods are bound together into a single unit, is called “Encapsulation”.

Encapsulation is also known as “Data Hiding”.

In simple words, Encapsulation is a process of wrapping the data or the variables and the methods together as a single unit that can not be accessed outside the class.

How do we achieve Encapsulation?

There are 2 ways to achieve Encapsulation:

  1. By declaring all the variables of a class as private.
  2. By creating public getter and public setter…


Image Source: Google

Hi there,In today’s article, we will discuss another important OOP(Object Oriented Programming) concept which is “Polymorphism”. I will discuss about what is Polymorphism in Java and its different types.I will try to explain in such a way that even if you want to differentiate among the types of polymorphism, it should be easier for you to do so. So, let’s get straight to the point. Poly means Many and Morph means forms so something which can take multiple forms. Easy? Let me give you a very simple example to relate to.

Example:

Water


Image Source: Google

Hi there, are you new to Java? If yes,you may get some benefit out of this article as this is based upon my own experience while working in a real time project. I will try to explain the Inheritance concept in best way possible so that you can relate it with your project ( if you are working on one). If not,you do not need to worry as this article will focus on the meaning and conceptualization of Inheritance in Java.

We should understand the OOP (Object Oriented Programming) concept in Java primarily. Inheritance is one of them. So, what…

Mukta Sharma

QA professional with nearly 10+yrs of testing experience.Expertise in functional, web automation,Mobile API testing,Leader,Learner,Mentor & Inspiring QA.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store