1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
xz_007 [3.2K]
3 years ago
13

Write the definition of a class Clock. The class has no constructors and three instance variables. One is of type int called hou

rs, initialized to 12, another is of type boolean called isTicking, initialized to true, and the last one is of type Integer called diff, initialized to 5.
A) Public class Clock {
B) Private int hours = 12;
C) Private boolean isTicking = true;
D) Private Integer diff = 5;
Computers and Technology
1 answer:
maksim [4K]3 years ago
3 0

Answer:

Following are the program definition in the Java Programming Language.

//define a class

public class Clock

{

//set integer type variable and initialize value

private int hours=12;

//set boolean type variable and initialize value

private boolean isTicking=true;

//set integer type variable and initialize value

private Integer diff=5;

}

Explanation:

Following are the description of Code.

  • Firstly define a class "Clock" with the "private" access modifier.
  • Then,  set the integer data type variable "hours" with the "private" access modifier and assign value 12 in that class.
  • After that, set the boolean data type variable "isTicking" with the "private" access modifier and assign value "true".
  • Finally set Integer class variable "diff" with the the private access modifier and assign value 5.
You might be interested in
The registrar does all of the following except:
Yuliya22 [10]
The answer is B. Issue report cards of grades.
3 0
3 years ago
Read 2 more answers
Being the Sales Manager of a company you have to hire more salesperson for the company to expand the sales territory. Kindly sug
andrezito [222]

Answer:

1. Identification of a vacancy and development of the job description.

2. Recruitment planning

3. Advertising

4. Assessment and Interview of applicants

5. Selection and Appointment of candidates

6. Onboarding

Explanation:

The Recruitment process refers to all the stages in the planning, assessment, and absorption of candidates in an organization. The stages involved include;

1. Identification of a vacancy and development of the job description: This is the stage where an obvious need in the organization is identified and the duties of the job requirement are stipulated.

2. Recruitment planning: This is the stage where the HR team comes together to discuss the specific ways they can attract qualified candidates for the job.

3. Advertising: The HR team at this point seeks out job sites, newspapers, and other platforms that will make the opportunities accessible to applicants.

4. Assessment and Interview of applicants: Assessments are conducted to gauge the candidates' knowledge and thinking abilities. This will provide insight into their suitability for the job.

5. Selection and Appointment of candidates: Successful candidates are appointed to their respective positions. A letter of appointment is given.

6. Onboarding: Candidates are trained and guided as to the best ways of discharging their duties.

6 0
3 years ago
Need 9&10. Thank you! Btw it's due today.
NeTakaya
Q9. The metric system is an internationally adopted decimal system of measurement. It is widely used in the world and is the only or most common system of weights and measures. It is now known as the International System of Units (SI). It is used to measure everyday things such as a sack of flour, the height of a person, a tank of petrol, and the speed of a car. On the other hand, the United States customary units are a system of measurements commonly used in the United States. So, for the measurement above we have:

Distance from Los Angeles:

Given that the problem does not tell us the specific point for the distance from Los Angeles. We will assume that this point is New York, so:

*Metric: The unit for length is the meter.

d = 4488460 (m)

*U.S customary: For measuring length, the U.S. customary system uses the inch, foot, yard, and mile, so:

d = 176711023 (in)
d = 14725918 (ft)
d = 4908639 (yd)
d = 2789 (mi)

The temperature on a hot day:

*Metric: Degree Celsius is a unit of thermodynamic temperature. So, on a hot day the temperature is:

T = 35°

*U.S customary: Degrees Fahrenheit is used in the U.S. to measure temperatures, so:

T = 95°

The weight of a loaf of bread: 

*Metric: The unit used for mass is the kilogram. For a mass of 0.095 (kg), the weight that is a force (Newton is the unit for measuring weight) is given by:

w = 0.931 (N)

*U.S customary: Ounces is a unit of weight for this system, so:

w = 1 ounce

Length of a pencil: 

*Metric:
d = 0.095(m)

*U.S customary: 

d = 3.74 (in)
d = 0.311(ft)
d = 0.10 (yd)
d = 5.90 (mi)

The capacity of a container:

The capacity of an element is equal to the volume that is the quantity of three-dimensional space enclosed by a closed surface, so the capacity of a container very used these days  is:

*Metric: 

V = 33.2m^{3}

*U.S customary: The cubic inch, cubic foot and cubic yard are commonly used for measuring volume. So:

V=2025988in^{3}
V =1172.44ft^{3}
V =43.42yd^{3}

<span>Q10. We can explain this concept using an example for Small Businesses. The concept of Frustrated Users (Employees) is an example of a technological problem. Interacting with technology is a huge part of the employees’ day. Using slow, outdated systems with frequent problems makes it much more difficult for them to be happy and productive. How would it impact a business if the company enabled the employees to get just 5 percent more accomplished every day? the answer is simply by keeping the technology up to date. So, the problem exposed above allows the company to find new ways and opportunities to make the job easier. The company would need to establish a training plan for the employees. Maybe establishing a diploma course that allows them to learn and know better the new technologies.</span>
4 0
3 years ago
2. You are developing a new application that optimizes the processing of a warehouse’s operations. When the products arrive, the
KonstantinChe [14]

Answer:

Option d) is correct

Explanation:

To optimize the processing of a warehouse’s operations, products are stored on warehouse racks when they arrive. The items that arrive last are the first to go out to minimize the time it takes to retrieve an item. The items that arrive need to be represented and the warehouse should be left in a data structure. The data structure which should you use to represent this situation is a queue.

Option d) is correct

5 0
3 years ago
Suction cup-type headlamp aiming equipment may be used on:
nignag [31]

Suction cup-type headlamp aiming equipment may be used on "assemblies with internal adjustments".

Option B

<u>Explanation:</u>

The suction cup type aiming equipment uses protruding pegs built into the headlamp lens. Without such pegs headlamps have no use to such equipment. Such headlamps are that adjusts the assembly but not only the beam of light.

Some assemblies also adjust the beam inside the headlamp as the exterior section of the assembly does not move with the adjustment. The suction cup need the lens to be smooth as the cup will not attach to a lens with raised letters.

6 0
3 years ago
Other questions:
  • In two to three paragraphs, come up with a way that you could incorporate the most technologically advanced gaming into your onl
    10·1 answer
  • Which of the following characters at the beginning of a cell signifies to Excel that it should perform a calculation for the val
    13·1 answer
  • A ____________________ can be used to hierarchically represent a classification for a given set of objects or documents. A. taxo
    10·1 answer
  • Pls help is very urgent and I will mark u as brainliest plsssss​
    11·2 answers
  • At the Data Link Layer of the OSI Model, what type of address is used to identify the receiving host?
    12·1 answer
  • Why are you unable to modify the budget file, when you have the allow full control ntfs permission?
    5·1 answer
  • Care should be taken whenever you post comments or photos to any social media or other websites, because each of these online ac
    12·1 answer
  • What are the characteristics of a severe storm
    12·1 answer
  • A 4-way set associative cache has 64 blocks of 16 words. How many bits are there in the ""tag"" field of the 15-bit address for
    13·1 answer
  • Can some one help please
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!