Friend Function In Java