Task 1
Task 1
Instructions:
Only softcopy is acceptable through email. In case of plagiarism, zero marks will be given to
those who are involved.
Questions
Write a Class ArrayManipulations and solve the following
questions. You may use superclass and subclass also. Also write
the driver class to check the results.
Program Output:
Q2. Input 5 number is an array and sort in ascending order and then
descending order.
Program Output:
3
4
5
6
4
6
5
4
4
3
suppliers) occur.
Program output:
update inventry
Ufone 180 cards left
update inventory
Ufone 210 cards
Q4. Input names of 10 students in an array and find out if there exist any
duplicate name.
Program output:
Names of Student:
Arif
Amber
Zainab
Anum
Zain
Aneeka
Adnan
Imran
Fauz
Zainab
Anum
Arif
Program Output:
Array PArray= 2, 3, 4, 5, 6