Answer:
public class Invitation
{
private String hostname;
private String address;
public Invitation(String n, String a)
{ // constructor that accepts two strings.
hostname = n;
address = a;
}
public String getHostname()
{
return hostname;
}
public void setAddress(String a)
{
address = a;
}
public String invite(String guest)
{
return "Hello" +guest+ ", you are invited to my party at " +address+". "+hostname+".";
}
public Invitation(String host, String address)
{
this.address = address;
this.hostname = host;
}
}
Explanation:
The Java program defines a class called "Invitation". The class constructor has two string arguments or parameters for the host of the event and the address. The invite method is used to generate the string invite message with the name of the guest as the argument. Use the "setAddress" method to set a new location of the event and the "getHostname" to get the name of the event host.
<span>A(n) ERP can replace many applications with one unified set of programs, making the system easier to use and more effective.
ERP stands for Enterprise Resource Planning system. It is a </span><span>set of integrated programs that manages vital business operations for an entire multi-site, global organization. It supports manufacturing & finance aspects of the organization. </span>
in the year 1907 plastic was invented
Maybe 7411 or someones birthday in the family
Answer:
Duplicate these displays.
Explanation:
<u>A. Show only on 1</u> <em>displays only the first screen and disconnects the second one</em>
<u>B. Extend these displays</u> <em>displays two different outputs on the same computer</em>
<u>C. Show only on 2.</u> <em>displays only the second screen and disconnects the first one</em>
<u>D. Duplicate these displays.</u> <em>displays the same output for both screen</em>