socket (I'm doing client server programming))?
You need to serialize it, either to json, xml, or send it using ObjectOutputStream, and receive it using ObjectInputStream on the other side.
Обсуждают сегодня