Arrays
1. Create a String Array for student names. Sort all the names alphabetically. Reverse the array items. Provide the searching name of the student based on an index. Make a clone of the array. Clear the items one by one or in a group.
2. A Class contains 3 batches. Create the batch with different number of students. And number of subjects also can be different. Print the batches.
4. Create an instance for array class, using that instance create an array and store values in that array. Set and get values of that array using predefined methods. Display double reversed array and clear the first two values of an array.
No comments:
Post a Comment