Exercise Questions 4.25
24. Explain the various methods available for creation and setting initial values to an array with
suitable examples.
25. How are multi-dimensional arrays defined? Compare with the manner in which one-
dimensional arrays are defined.
26. Explain salient features of Vector class.
27. Explain with examples the various methods to create and set initial values to a String.
28. Explain methods of String class with examples.
29. Explain what you understand by the statement
StringBuffer elements are mutable.
30. Distinguish the String class and
StringBuffer Class and StringBuilder Class.
Assignment Questions
31. Write a Java program to find the sum of elements of an array with recursion.
32. Write a Java program to find the ...