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

which is greater 8456ml or 9L
A tree has a shadow that is 9 feet long Otis is 4 feet tall and is standing next to the tree Otis has a shadow that is 4.5 feet long how tall is the tree
Help me with this math problem ASAP
what do the terms confederal ,and federal all refer to
As stream velocity decrease, which factor will likely increase? A) erosion of the stream bank B) deposition of material in the stream C) amount of material car
What is the prime factorization of 882
Bonnie deposits $70.00 into a new savings account. The account earns 4.5% simple interest per year. No money is added or removed form the savings account for 3
Ornamentation was not originally intended to _____ . show off a musician's technical skills embellish a repeated passage provide added interest for the listener
Gulf gully and jump rope road are a pretty far distance.If the scale for the map is 0.5 inches=2.3 miles,what is the actual distance between the two two places?
joaquin can send 250 text each month so far this month he has sent 141 text message let T represent the number of text messages joaquin can send during the rest