Answer Posted / vijayakumar chinnasamy
Steps:
1. Create class as final class
2. Make all the properties i.e instance variable as final.
3. Avoid or make the least access for the setter method
for properties.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is parse method?
What about main() method in java ?
What is an example of procedure?
Explain the difference between string, stringbuffer and stringbuilder in java?
What is jit and its use?
What are pass by reference and pass by value?
What is function and its uses?
What is flag in python?
Is zero a positive integer?
What is arraylist e in java?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
Is it possible to specify multiple jndi names when deploying an ejb?
What does java se mean?
What is the use of jtable?
What is the difference between procedural and object-oriented programs?