Find employee whose salary is more than 10000

Find employee whose salary is more than 10000 using java 8 stream package ajitation; import java.util.*;   public class Test { String empName; int salary;   public String getEmpName() { return empName; } public void setEmpName(String empName) { this.empName = empName; } public int getSalary() { return salary; } public void setSalary(int salary) { this.salary … Read more

Immutable class in java

What is Immutable class in java? Immutable class in java is that class of which once we create an object then we are not allowed to change the content or state of that object. How to create Immutable class in java?  Make your class as final (can’t extend further)  Make data member as … Read more

Inheritance in Java

Inheritance in Java is an important aspect of OOP (Object Oriented Programming). It is a method in Java by which a class can inherit the properties (fields and methods) of another class. Inheritance in Java means creating a new class based on an existing class. A child class that inherits from parent class can reuse the … Read more

Project Exception

Project Exception : How you handled exceptions in your project? As part of my project we are handling the exception, generally in my project we have handle user defined exception, based on the business requirement we have categorized user defined exception into different types of exception like- A) Business Exception B) System Exception C) Service … Read more

Java Comments

Java Comments : In any java program, we can use comments which can be more helpful to programmer to understand that what exactly is that method or line of code is all about and it will make more easier to next coder to understand meaning of any such line of code. The java comments are … Read more

Manual And Automation Testing

Manual And Automation Testing : Testing is a process, in which all the phases of STLC (SOFTWARE TESTING LIFE CYCLE) like Test planning, Test development, Test execution, Result analysis, Bug tracking and Reporting are accomplished successfully and manually with Human efforts.Any graduate who is creative can do testing.Testing is a process in which defects are … Read more

OOP’s Concept in Java

OOP’s Concept in Java : OOP’s concept stands for Object Oriented Programming concept in java and it is design to make effective, easy to understand and to save developers efforts in terms of coding and time. There are four major pillars of object oriented programming such as Inheritance, Polymorphism, Abstraction and Encapsulation. Inheritance in Java … Read more