static Short llenado() throws IOExceptionComo apreciareis a simple vista el return está mal hecho,o eso creo...ya que me da error :( ¿Cómo lo pondríais vosotros?
{
BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in));
int cont,resp;
short vector[]=new short[50];
for(cont=0;cont<50;cont++)
{
do
{
vector[cont]=(short)(Math.random()*100);
}while(vector[cont]<10 || vector[cont]>99);
}
return(vector[]);
}