Posts

CoreJava-2 - Class, Method, Object and Variables

Image
Core Java - Class, Method, Object and Variables 1 .       what is a class in Java ? In Java, a class is a blueprint or a template for creating objects that define a set of data fields and methods that can be used to manipulate those data fields. Each object created from a class has its own unique set of data fields, which can be manipulated using the methods defined in the class. A class is defined using the "class" keyword, followed by the name of the class, and then the class body, which includes the data fields and methods. For example, the following code defines a simple class named "Person" with two data fields (name and age) and two methods (setName and setAge) for setting the values of these fields: public class Person {     private String name;     private int age;       public void setName(String name) {         this.name = name;     }  ...

CoreJava-1 - Java-Introduction

Image
 Java - Introduction What is Java? Java is a popular object-oriented programming language used to build a wide variety of applications. It was first released by Sun Microsystems in 1995 and has since become one of the most widely used programming languages in the world. Java is designed to be portable, meaning that Java code can be run on any platform that has a Java Virtual Machine (JVM) installed. This makes it a popular choice for building applications that need to run on multiple operating systems. Java is known for its security features, which help protect against malicious code and ensure that Java applications are safe to run. Java also has a large and active community of developers who contribute to its ongoing development and support. Java is used to build a wide variety of applications, including desktop applications, web applications, mobile applications, games, and more. It is a versatile language that is well-suited to both large and small projects. What are th...

CoreJava-0- Basics of Programming

  What is a software Program ? A software program, or simply a program, is a set of instructions that tells a computer what to do. It is a collection of one or more computer programs and associated data that are designed to perform specific tasks or solve specific problems. Programs are written in programming languages, and they are executed by a computer's processor to perform the desired tasks. Software programs can take many forms, from simple command-line tools to complex desktop applications, mobile apps, and web applications. They can be used for a wide range of purposes, including creating, editing, and manipulating documents, processing, and analysing data, controlling hardware devices, and providing entertainment. For a program to be executed by a computer, it needs to be compiled or interpreted into machine code, which is the low-level language that the computer understands. Once a program is compiled or interpreted, it can be executed by the computer's processo...

ST-Manual Testing - 8 - Defect Reporting

Image
  How can we define a defect in software testing`? A defect, also known as a bug, is a deviation from the expected behaviour of a software application. In software testing, a defect is identified when the actual outcome of a test differs from the expected outcome. This can occur due to a flaw in the design, coding, or requirements gathering of the software. Defects can range in severity from minor cosmetic issues to critical failures that prevent the software from functioning as intended. The goal of software testing is to identify as many defects as possible before the software is released to the public, to ensure that the end-users have a high-quality, reliable experience. What are all the fields needed while reporting a defect ? The fields needed while reporting a defect can vary depending on the specific organization and its processes, but some common fields are: Summary or Title : A brief and clear description of the defect. Severity : The level of impact...