Assume that you are applying “testing” and “inspection”, the two defect finding methods in the following buggy code example to find defects. Explain how “testing” and “inspection” differ in finding...


Assume that you are applying “testing” and “inspection”, the two defect finding methods in the following buggy code example to find defects. Explain how “testing” and “inspection” differ in finding defects quickly and the efforts required for the example.



public class Employee


{


   private String id;


   private int name;


   private double salary;


   public Employee(String id,int name,double salary)


            {


            }


   public Employee()


            {


            }


}


Public class Customer


{


   public static void main(String s[])


            {


             Employee e1=new Employee(“10060OTU”, “S1”, 2000.50);


               Employee e2=new Employee();


               System.out.println (“The salary of Employee S1 is”+ e1.salary);


            }




Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here