Challenges are what make life interesting
Overcoming them is what makes life meaningful I am enjoying Challenges
NBar
Java
JSP
Servlet
Hibernate
Android
Mysql
Eclipse
Home
Java
Junit
Servlet
JSP
Mysql
Web Services
Rest
SOAP
Spring
Dependency injection
Spring Security
Spring MVC
Spring Controller
Spring Web
Spring AOP
Spring Dao
Spring ORM
Spring Context
Spring Dao
Android
Hibernate
More
Wednesday, 8 May 2013
How to create Userdefined Immutable Class in Java
How to create Userdefined Immutable Class in Java
1) Define class as final
2) Define private member field as final
3) set member field value only through constructor
4) define only getter method of member field.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment