Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SerialClass implements Serializable
- {
- private Date currentTime;
- public SerialClass()
- {
- currentTime = Calendar.getInstance().getTime();
- }
- public Date getCurrentTime()
- {
- return currentTime;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement