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.
Answer:
Go to the Home tab on the ribbon and the group Styles.
Left Click Cell Styles, then click New Cell Style and create the style.
To share it with other workbooks, use the Merge Styles function in the same group.
Explanation:
This info was for excel.
Please mark brainliest!
Algorithm is part of computer science. You an learn it on Khan academy. (you probably werent looking for this but no one was answering)
Your answer is <span>A.conglomerate.
Hope this helps :)</span>