Question: public static voic showxento System.out.print (Qm) public static void eraseFle) public static void processRequestoi System.out.print (2 public static void main (String args) stem.out.print A) processRequestO
public static voic showxento System.out.print ("Qm) public static void eraseFle) public static void processRequestoi System.out.print ("2" public static void main (String args) stem.out.print "A") processRequestO showMenu ) System.out.print ("B" Write a method named countChars that takes two parameters a String S and a char C. The function count the number of times the character occurs in the string, and return the result. Arrays: Exercises: Write a method that create and populate and an array of n elements Write a method to find the smallest element of an array Write a method to find the index of the smallest element in an array Write a method to find the average Write a method to compare if two arrays are equal. Write a method to make reverse copy of an array Write a method to reverse an array Write a method to find an element in an array Write a method to count the number of common elements in 2 arrays Write a method to create an array which contains elements that are common to two arrays. of the elements of an array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
