/**
* Class Calculadora
*/
public class Calculadora{
//
// Fields
//
//
// Constructors
//
public Calculadora () { };
//
// Methods
//
//
// Accessor methods
//
//
// Other methods
//
/**
*/
public void IntroducirNumeros( )
{
}
/**
*/
public void Sumar( )
{
}
/**
*/
public void Restar( )
{
}
/**
*/
public void Multiplicar( )
{
}
/**
*/
public void Dividir( )
{
}
/**
*/
public void CalcularResultado( )
{
}
/**
*/
public void BorrarPantalla( )
{
}
}
/**
* Class Botones
*/
public class Botones {
//
// Fields
//
private void Tamaño;
private void Distribución;
//
// Constructors
//
public Botones () { };
//
// Methods
//
//
// Accessor methods
//
/**
* Set the value of Tamaño
* @param newVar the new value of Tamaño
*/
private void setTamaño ( void newVar ) {
Tamaño = newVar;
}
/**
* Get the value of Tamaño
* @return the value of Tamaño
*/
private void getTamaño ( ) {
return Tamaño;
}
/**
* Set the value of Distribución
* @param newVar the new value of Distribución
*/
private void setDistribución ( void newVar ) {
Distribución = newVar;
}
/**
* Get the value of Distribución
* @return the value of Distribución
*/
private void getDistribución ( ) {
return Distribución;
}
//
// Other methods
//
/**
*/
public void Oprimir( )
{
}
}
Si comparamos este código con el código original, nos podemos dar cuenta que ciertas cosas se parecen, pero en si, difiere mucho del código original.
No hay comentarios:
Publicar un comentario