raghava


{ City } bangalore
< Country > india
* Profession * student
User No # 91078
Total Questions Posted # 0
Total Answers Posted # 2

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 16
Users Marked my Answers as Wrong # 5
Questions / { raghava }
Questions Answers Category Views Company eMail




Answers / { raghava }

Question { Wipro, 53503 }

How many types of action clases are there in stuts and
their uses?


Answer

1.ForwardAction class
2.DispatchAction class
3.IncludeAction class
4.LookUpDispatchAction class
5.MappingDispatchAction class
6.SwitchAction class
7.LocaleDispatchAction class
8.DownloadAction class

Is This Answer Correct ?    15 Yes 5 No

Question { TSYS, 26503 }

How to make a class immutable?


Answer

While creating class objects of which will be immutable. The following
things should be kept in mind:
1. Class should be made final so that no class can extend it.
2. Access modifiers of the instance variables must be private so that no
object can have access to it.
3. There should not be any public set method which can change the state of
the object.

Is This Answer Correct ?    1 Yes 0 No