Java Unit-3 Assignment Answers
Java Unit-3 Assignment Answers
2) String is slow and consumes more StringBuffer is fast and consumes less
memory when we concatenate too memory when we concatenate t strings.
many strings because every time it
creates new instance.
3) String class overrides the equals() StringBuffer class doesn't override the
method of Object class. So you can equals() method of Object class.
compare the contents of two strings
by equals() method.
5) String class uses String constant pool. StringBuffer uses Heap memory
action's flow.
Adding an On Exception action in your UI Flows.
Let the Global Exception Handler of your module do the