using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace trabajadores
{
class hora : reloj
{
private int h, m, s;
public hora(int h1,int m1,int s1)
{
sethora(h1);
setmin(m1);
setseg(s1);
}
public void reloj.sethora(int h1)
{
h = h1;
}
public void reloj.setmin(int m1)
{
m = m1;
}
public void reloj.setseg(int s1)
{
s = s1;
}
public int reloj.gethora()
{
return h;
}
public int reloj.getmin()
{
return m;
}
public int reloj.getseg()
{
return s;
}
}
}