JAVA
The source code below defines a Device class. Examine the codeand answer the following questions;
public class Device{
private StringMAC;
private Stringmake;
private Stringmodel;
public Device(String MAC,String make, String model){
this.MAC = MAC;
this.make = make;
this.model =model;
}
public String getMAC(){
return MAC;
}
public String getMake(){
return make;
}
public String getModel(){
return model;
}
}
Using ArrayList, write asimple program to create five device objects. The details of theobjects should be entered though a console by prompting theuser. Write a method that will display the detailsof all the devices stored in the program. Write amethod to delete
PayPal Gateway not configured
PayPal Gateway not configured