Hello How do I convert in a `ArrayList<>` something to String I will show you my code I am really bad a at explaining stuff sorry:
ArrayList batoh = new ArrayList<>();
public void pridej(HerniObjekt objekt)
public void vypis()
JOptionPane.showMessageDialog(null, "Mas v Inevtari "+batoh.);
And I would like to convert the HerniObject to String how do I do that? thanks for your help. And what does HerniObekt look like? Which String you would like to get from each object? And finally, what have you tried?
以上就是ArrayList Own type to String?的详细内容，更多请关注web前端其它相关文章！