I’ve created an arraylist in java which shows a bunch of stuff.The program runs the way i want but i’ve a little inconvenience.at the end of the loop below it displays this : A@
ArrayList umudo = new ArrayList();
while(true){
int n2 = readInt("Enter the block: ");
int le=dyibul.modulo(n2, de, n);
if(dyibul.numdigits(le)==3){
int me= (le/100);
int ne= le-me*100;
char y = (char) (me+65);
char z = (char) (ne+65);
String bu=(y+""+z);
umudo.add(bu);
}else{
int me= (le/100);
int ne= le-me*100;
char y = (char) (me+65);
char z = (char) (ne+65);
String bu2=(y+""+z);
umudo.add(bu2);
}
if(n2==-1){
break;
}
}
for(int j=0;j<umudo.size();j++){
print(umudo.get(j));
}
I suppose it’s something to do with the place it’s stored or sth.But i don’t want it to appear.Can you give me a clue?
Edit:umudo is the name of my ArrayList.Java compiler isn’t giving any red lined error alert.and my ArrayList consists of Strings.This is the final step of my RSA decoding/hacking homework.
It is unclear what you are expecting the output to be.
However, this is most likely wrong:
The code in the then and else blocks is identical.