mspendreashajo mspendreashajo
  • 16-12-2016
  • Computers and Technology
contestada

You are given a class named clock that has one int instance variable called hours. write a constructor with no parameters for the class clock. the constructor should set hours to 12.

Respuesta :

Destroyerasdf Destroyerasdf
  • 16-12-2016
in java it would be 

public clock()
{
     hours = 12;
}
Answer Link

Otras preguntas

what does no taxtation without presentation mean?
List 3 main functions of the human body.
Which is true about the relationship between the Emancipation Proclamation and the 13th amendment to the U.S. Constitution?
judy spent 1/2 of her saving on a bicycle and 2/5 of her saving helmet what is the total fraction of her savin that judy spent on a bicycle and a helmet
A fish tank, in the shape of a rectangular prism with dimensions 51 cm by 39 cm by 28 cm, is 95% filled with water. A solid log is placed into the tank, sinks t
which source is most credible? A. one with a degree from a community collage B. one with multiple, well-reviewed publications on the subject C. one who writes
Type one diabetes is caused by mutated gene
1. Identify this mystery element: I am very reactive, I desperately want to get rid of my electron. When I make a compound with Chlorine it is table salt. W
When people in a market economy specialize, what do they depend on to make sure their needs are addressed?
Minoan and Mycenaean civilizations shared all of the following characteristics, EXCEPT: A. highly developed cities B. sea-related system of trading C. regula