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.
Some devices that depend on gravity to function include scales, showers, and satellites, to list a few.
The options are available for storing backups, physically are:
- In both on site and off site,, a person can backup data to a given system that is located on-site, or the backups can be sent to any remote system that is off-site.
<h3>What is a backup?</h3>
This is known to be a device that helps to save information or data temporarily or permanently.
Note that in the above, The options are available for storing backups, physically are:
- In both on site and off site,, a person can backup data to a given system that is located on-site, or the backups can be sent to any remote system that is off-site.
Learn more about backups from
brainly.com/question/17355457
#SPJ12
Answer:
The answer is 'PC4 21300 CL9".
Explanation:
Faster memory advertising is used to provide customer memory, which is essential for brand actions. It can't be taken throughout ad coverage. Retired-laboratory tests revealed its access to ad-memory detection aspects of the effect of its grade through publicity recovery, that's why it uses the PC4 21300 CL9, it transfers the 170400 bits per second.