Question
Describe what Java environment would contain to do if you were trying to pass an ArrayList (a collection class) consisting of objects of following class over a connection oriented socket. Client is an intel based Windows XP machine and server is UNIX based.
The class:
public class AccountNode {
private int accountBalance;
public int getAccountBalance() {
return accountBalance;
}
public void setAccountBalance(int newBalance) {
accountBalance = newBalance;
}
}