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
Answer:
The answer of this question is given below into explanation section
Explanation:
answer (a)
I visited the carrerbuilder dot com and search for data entry job. The link of the posting is given below
https://www.careerbuilder.com/jobs?utf8=%E2%9C%93&keywords=data+entry&location=
answer(B)-Requirements of the the job
- Previous office experience (data entry experience a plus)
- Proficient with a computer and computer software (Excel knowledge required)
- Excellent verbal and written communication skills
- The ability to multi-task and work in a team-oriented environment
- High School Diploma / G.E.D.
- Ability to meet background check and drug screening requirements
answer(C)-Tasks of the job
- Open, sort, and scan documents
- Track all incoming supplies and samples
- Data entry of samples that come in
- Assist with documentation and maintaining of data
- Prepare and label information for processing
- Review and correct any data entry error or missing information
answer (d)
I have 3 years of experience in organization administration where I managed the organization data, generated reports and communicated verbally and written within the organization efficiently.
Answer:
An loop statement
Explanation:
An iteration statement, loop, repeatedly executes a statement, know as a loop body,until the controlling expression is false
Answer:
C. leagueName=newPlayers.getLeague(); getLeague() is not a member of Players.
Explanation:
The main method in this code will case an error when trying to run the following line of code...
leagueName=newPlayers.getLeague();
This is because the method getLeague() is being called on a Player object which takes all of its methods from the Player class. Since getLeague() is not a method located in the player class then it cannot be called by an object from that class. Especially since the Player class does not extend to the SoccerPlayers class where the getLeague() method is actually located. Instead, it is the SoccerPlayers class which extends the Players class as its parent class.