-
Write java programs that include generic method to satisfy the following property.
-
To counts the number of odd integers in an integer list
-
To exchange the positions of two different elements in an array.
-
-
-
To find the maximal element in the range [begin, end] of a list.
-
-
Create a Java program that finds the maximum value based on the given type of elements using generic functions in java.
-
Write a program to perform the following operations on an array using generic classes
-
Add an element in the beginning/middle/end
-
Delete an element from a given position
-