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: The how-to statements
Explanation:
The mission statement is simply a short summary of the purpose of a company. It is the guideline on how a company will operate. The mission statement states the reason for the existence of a company, products sold or service rendered and the company's goals.
The mission statement should be brief but comprehensive, consist of simple words and describe the “who, what, and where” of the organization.
Therefore, the incorrect option based on the explanation above is "The how-to statements". This shouldn't be part of the mission statement.
Answer:
Linux directories and their purposes are:
1) lib - Lib file contained the share object library file which necessary to boots system and this directory contain file module stored in the kernel.
2) etc - etc file is the configuration file that they are local in the machines. When the program run these file are stored in the directories. this can be static and do not executable directory.
3) Boot - Boot file are stored in the directory which required processing of linux boot and such files are included in the linux kernel of the file.
4) Root - Root file are the best user root directory and user cannot view this directories from there account. This file usually contain administrative file system.
5) Home - Home file contained the user directory and it is the default system of linux. Home directory helps user to enable any network system to access there home directories.
Answer:
She got motivated to work harder. She did not want to be less smarter that the other girls.
Explanation:
She was shy in the beginning, but then once she heard out the other girls could do it very well. She then got motivated.