Answer:
creating vector:
code:
to20 <-c(1:20) #creating to20 vector
end <-c(40:50) #creating end vector
to50 <-c(to20,21:30,end) # creating to50 vector
print(to50) # printing to50 vector
Explanation:
Answer: 42 is the answer to everything and just remember, Don,t panic.
For i am the hitch hikers guide to the galaxy.
Explanation:
Answer:
D. notifying your employer of all accounts you have access to, and requesting that they change all passwords before you leave
Explanation:
Assuming your employment is terminated, notifying your employer of all accounts you have access to, and requesting that they change all passwords before you leave is a behavior that would not harm a company. In the true and actual sense, making such suggestions is commendable because it would go a long way to cause more good rather than harm the company.
Some mischievous and malicious employees would rather not tell so they can still have an unauthorized access to the company's account and perpetrate various level of evil.
Hence, it is a good global practice to have a company's login credentials updated whenever an employee's employment is terminated.
Answer:
public class Class {
private String name ="";
private int score = 0;
//Method SetName
public void setName(String newName){
name = newName;
}
//Method SetScore
public void setScore(int newScore){
score = newScore;
}
//Method GetName
public String getName() {
return name;
}
//Method GetScore
public int getScore() {
return score;
}
}
Explanation:
- The class called Class is implemented in Java programming language
- It has two fields (instance variables name and score)
- Methods for setting the values of variables (mutator methods) or setters
- Methods for getting the values of the variables (accessor methods) getters