KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > titan > customer > Name


1 package com.titan.customer;
2
3 public class Name implements java.io.Serializable {
4
5     private String lastName;
6     private String firstName;
7     
8     public Name(String lname, String fname){
9         lastName = lname;
10         firstName = fname;
11     }
12     public String getLastName() {
13         return lastName;
14     }
15     public String getFirstName() {
16         return firstName;
17     }
18 }
19
Popular Tags