WAP to throw different types of exception & catch them in different catch blocks(Also throw an object )
Define a class âTimeâ which store the time in Hour:Min:Sec in 12 hrs format and throws an exception when an invalid time is inputted from user
Create a class Template which stores an array. Include member function .(i) To search an element in the array.(ii) To find the sum of elements of an array(iii) To find the largest elements of an array