Tarea 8 Computacion Tecmilenio

Páginas: 2 (331 palabras) Publicado: 3 de octubre de 2012
Objetivo:
Procedimiento:
1. Consider the class “Dog” with the next attributes and methods:
Class Dog
|Attributes |
|Name|
|Year of birth |
|Color |
|Breed|
|Method |
|Calculate the age it will have in the year 2050 |


           Graphically we represent the dog class as follows:
|Dog |
|+name : String+yearbir : |
|int +color : String +breed|
|: String |
|+Age() |2. Declare, instantiate, and initialize two variables that make reference to the object in the Dog Class.
3. Assign values to each of the attributes for each of the variables.
4.Write the previous instructions in Java Language.


1. Consider the class “Television” with the following attributes and methods: 

Class Television
|Attributes|
|Brand |
|Size (in inches) |
|Color ||Classification (plasma or LCD) |
|Method |
|Calculate the size of the television in centimeters |
|(consider 1 in = 2.54 cm)|


2. Make a graph that represents the Television Class.
3. Declare, instantiate, and initialize two variables that refer to the object class television.
4. Assign valuesto each of the attributes for each of the variables.


Resultados:[pic]

For the televisión my netbeans started to fail so ill do the code here
in the class called Television ill put
String...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Tarea 1. Computación Tecmilenio
  • Tarea 8 De Historia Tecmilenio
  • tarea 8 Tecmilenio
  • tarea 1 Computacion tecmilenio
  • tarea 8 estructura tecmilenio
  • Tarea 8 quimica 2 tecmilenio
  • Tarea 8 Quimica 2 Tecmilenio
  • Tarea 8 Computer Science Tecmilenio

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS