commit a6112cfc9886d6ff153c5e1572b219894f800d9e Author: Misa Date: Sun Feb 15 20:45:00 2026 +0530 LabWork diff --git a/AreaG.java b/AreaG.java new file mode 100644 index 0000000..b4913f5 --- /dev/null +++ b/AreaG.java @@ -0,0 +1,24 @@ +//program 9 b +public class AreaG { + + private T t; + + public void add(T t) { + this.t = t; + } + + public T get() { + return t; + } + + public static void main(String[] args) { + AreaG rectangle = new AreaG<>(); + AreaG circle = new AreaG<>(); + + rectangle.add(10); + circle.add(2.5); + + System.out.println("Area of a rectangle is: " +rectangle.get()); + System.out.println("Area of a Circle is: " +circle.get()); + } +} \ No newline at end of file diff --git a/ArrayList11.class b/ArrayList11.class new file mode 100644 index 0000000..5672571 Binary files /dev/null and b/ArrayList11.class differ diff --git a/CatArrayList.class b/CatArrayList.class new file mode 100644 index 0000000..1abe1f4 Binary files /dev/null and b/CatArrayList.class differ diff --git a/GenericClass.java b/GenericClass.java new file mode 100644 index 0000000..f7e5a6c --- /dev/null +++ b/GenericClass.java @@ -0,0 +1,16 @@ +//9A write a java code for generic class +public class GenericClass +{ + public void display(T1 var1, T2 var2) + { + System.out.println("Name: " + var1 + ", ID: " + var2); + } + + public static void main(String[] args) { + GenericClass obj1 = new GenericClass(); + GenericClass obj2 = new GenericClass(); + + obj1.display("Misa", 101); + obj2.display(201, 301); + } +} \ No newline at end of file diff --git a/GenericMethod1.java b/GenericMethod1.java new file mode 100644 index 0000000..4f60772 --- /dev/null +++ b/GenericMethod1.java @@ -0,0 +1,21 @@ +public class GenericMethod1 +{ + public static void main(String[] args) + { + Integer[] intArray = {1, 2 , 3 ,4 ,5}; + String[] stringArray = {"Hello", "Adi", "!"}; + System.out.print("Integer Array:"); + printArray(intArray); + System.out.print("String Array:"); + printArray(stringArray); + } + public static void printArray(T[] arr) + { + for(T element : arr) + { + System.out.print(element + " "); + } + System.out.println(); + } +} + diff --git a/GenericMethod2.java b/GenericMethod2.java new file mode 100644 index 0000000..36f244a --- /dev/null +++ b/GenericMethod2.java @@ -0,0 +1,19 @@ +public class GenericMethod2 +{ + public static > T findMax(T x, T y) + { + return x.compareTo(y) > 0 ? x : y; + } + + public static void main(String[] args) + { + Integer maxInt = findMax(5,10); + System.out.println("Maxim7um of 5 and 10 is: " +maxInt); + + Double maxDouble = findMax(3.5, 7.8); + System.out.println("Maximum of 3.5 and 7.8 is: " +maxDouble); + + String maxString = findMax("apple", "banana"); + System.out.println("Maximum of 'apple' and 'banana' is: " +maxString); + } +} diff --git a/GenericMethodTest.java b/GenericMethodTest.java new file mode 100644 index 0000000..b654bdf --- /dev/null +++ b/GenericMethodTest.java @@ -0,0 +1,22 @@ +//write a java code for generic method + public class GenericMethodTest +{ + public static void printarray(E[] inputarray) + { + for(E element :inputarray) + { + System.out.printf("%s", element); + } + System.out.println(); + } + + public static void main(String[] args) + { + Integer[] intarray = {1,2,3,4,5}; + Character[] chararray = {'a','b','c','d'}; + System.out.println("Array in integer:"); + printarray(intarray); + System.out.println("Array in character"); + printarray(chararray); + } +} diff --git a/HashSet16.class b/HashSet16.class new file mode 100644 index 0000000..0b1d102 Binary files /dev/null and b/HashSet16.class differ diff --git a/HashSet16.java b/HashSet16.java new file mode 100644 index 0000000..c3b46b5 --- /dev/null +++ b/HashSet16.java @@ -0,0 +1,19 @@ +//16. write a java code to demonstrate HashSet +import java.util.*; +public class HashSet16 +{ + public static void main(String[] args) + { + HashSet drinks = new HashSet(); + drinks.add("Cranberry Juice"); + drinks.add("Mango Lassi"); + drinks.add("Cranberry Juice"); + drinks.add("Mixed fruit Juice"); + + Iterator itr = drinks.iterator(); + while(itr.hasNext()) + { + System.out.println(itr.next()); + } + } +} \ No newline at end of file diff --git a/JavaCollection1.java b/JavaCollection1.java new file mode 100644 index 0000000..9d6a684 --- /dev/null +++ b/JavaCollection1.java @@ -0,0 +1,21 @@ +//10 write a java code to implement iterator to acess collection element +import java.util.*; + +class TestJavaCollection1 +{ + public static void main(String args[]) + { + ArrayList list = new ArrayList(); // Creating arraylist + + list.add("Aditya"); // Adding object in arraylist + list.add("Misa"); + list.add("Vidhi"); + list.add("Suraj"); + + // Traversing list through Iterator + Iterator itr = list.iterator(); + while (itr.hasNext()) { + System.out.println(itr.next()); + } + } +} \ No newline at end of file diff --git a/LinkedHashSet17a.class b/LinkedHashSet17a.class new file mode 100644 index 0000000..42ac945 Binary files /dev/null and b/LinkedHashSet17a.class differ diff --git a/LinkedHashSet17a.java b/LinkedHashSet17a.java new file mode 100644 index 0000000..b238884 --- /dev/null +++ b/LinkedHashSet17a.java @@ -0,0 +1,22 @@ +//17. write a java code to demonmstrate LinkedHashSet A +import java.util.*; +public class LinkedHashSet17a +{ + public static void main(String[] args) + { + LinkedHashSet sweets = new LinkedHashSet(); + sweets.add("Kaju Katli"); + sweets.add("Gulab Jamun"); + sweets.add("Aflatoon"); + sweets.add("Gajar Halwa"); + sweets.add("Kaju Katli"); + Iterator itr = sweets.iterator(); + while(itr.hasNext()) + { + System.out.println(itr.next()); + } + + } +} + + diff --git a/LinkedHashSet17b.class b/LinkedHashSet17b.class new file mode 100644 index 0000000..5be7017 Binary files /dev/null and b/LinkedHashSet17b.class differ diff --git a/LinkedHashSet17b.java b/LinkedHashSet17b.java new file mode 100644 index 0000000..cfe0cbc --- /dev/null +++ b/LinkedHashSet17b.java @@ -0,0 +1,20 @@ +//program 17b +import java.util.*; +public class LinkedHashSet17b +{ + public static void main(String[] args) + { + LinkedHashSet sweets = new LinkedHashSet(); + sweets.add("Kaju Katli"); + sweets.add("Gulab Jamun"); + sweets.add(""); + sweets.add("Gajar Halwa"); + sweets.add("Kaju Katli"); + Iterator itr = sweets.iterator(); + while(itr.hasNext()) + { + System.out.println(itr.next()); + } + + } +} diff --git a/LinkedHashSet17c.class b/LinkedHashSet17c.class new file mode 100644 index 0000000..9103843 Binary files /dev/null and b/LinkedHashSet17c.class differ diff --git a/LinkedHashSet17c.java b/LinkedHashSet17c.java new file mode 100644 index 0000000..0b009ac --- /dev/null +++ b/LinkedHashSet17c.java @@ -0,0 +1,20 @@ +//program 17c +import java.util.*; +public class LinkedHashSet17c +{ + public static void main(String[] args) + { + LinkedHashSet sweets = new LinkedHashSet(); + sweets.add("Kaju Katli"); + sweets.add("Gulab Jamun"); + sweets.add("null"); + sweets.add("Gajar Halwa"); + sweets.add("Kaju Katli"); + Iterator itr = sweets.iterator(); + while(itr.hasNext()) + { + System.out.println(itr.next()); + } + + } +} diff --git a/LinkedList13b.class b/LinkedList13b.class new file mode 100644 index 0000000..03f1048 Binary files /dev/null and b/LinkedList13b.class differ diff --git a/LinkedList13b.java b/LinkedList13b.java new file mode 100644 index 0000000..1eeba25 --- /dev/null +++ b/LinkedList13b.java @@ -0,0 +1,18 @@ +//program 13b +import java.util.*; +public class LinkedList13b +{ + public static void main(String[] args) + { + LinkedList name1=new LinkedList(); + name1.add("Misa"); + name1.add("Aditya"); + name1.add("Aisha"); + name1.add("Aditya"); + Iterator itr=name1.iterator(); + while(itr.hasNext()) + { + System.out.println(itr.next()); + } + } +} \ No newline at end of file diff --git a/MovieBook.java b/MovieBook.java new file mode 100644 index 0000000..3d0712a --- /dev/null +++ b/MovieBook.java @@ -0,0 +1,30 @@ +//write a java program for inter thread communication using wait(), notify(), notifyall() +class TotalEarnings extends Thread +{ + int total = 0; + public void run() + { + synchronized(this) + { + for(int i=1; i<=10; i++) + { + total=total+100; + } + this.notify(); + } + } +} + +public class MovieBook +{ + public static void main(String[] args) throws InterruptedException + { + TotalEarnings te = new TotalEarnings(); + te.start(); + synchronized(te) + { + te.wait(); + System.out.println("Total earnings: " +te.total); + } + } +} diff --git a/Multi.java b/Multi.java new file mode 100644 index 0000000..32b3a61 --- /dev/null +++ b/Multi.java @@ -0,0 +1,13 @@ +// write a java code by extending thread class +class Multi extends Thread +{ + public void run() + { + System.out.println("Thread is running..."); + } + public static void main(String[] args) + { + Multi t1 = new Multi(); + t1.start(); + } +} \ No newline at end of file diff --git a/Multi3.java b/Multi3.java new file mode 100644 index 0000000..a919f65 --- /dev/null +++ b/Multi3.java @@ -0,0 +1,11 @@ +//write a java code by implementing runnable interface +public class Multi3 implements Runnable{ +public void run(){ + System.out.println("Thread is running..."); + } + public static void main(String[] args){ + Multi3 m1 = new Multi3(); + Thread t1 = new Thread(m1); + t1.start(); + } +} \ No newline at end of file diff --git a/MultipleThread.java b/MultipleThread.java new file mode 100644 index 0000000..b7c12c8 --- /dev/null +++ b/MultipleThread.java @@ -0,0 +1,41 @@ +//write a java program for Multiple thread acting on Single Object +public class MultipleThread implements Runnable +{ + String task; + MultipleThread(String task) + { + this.task = task; + } + public void run() + { + for(int i=1; i<=5; i++) + { + System.out.println(task+ ":" +i); + try + { + Thread.sleep(1000); + } + catch(InterruptedException e) + { + e.printStackTrace(); + } + } + } + + public static void main(String[] args) + { + Thread nThread = Thread.currentThread(); + System.out.println("Name of Thread: " +nThread); + + MultipleThread mt = new MultipleThread("Hello Java"); + Thread t1 = new Thread(mt); + Thread t2 = new Thread(mt); + Thread t3 = new Thread(mt); + t1.start(); + t2.start(); + t3.start(); + + int count = Thread.activeCount(); + System.out.println("No of active threads: " +count); + } +} \ No newline at end of file diff --git a/MyThreadd.java b/MyThreadd.java new file mode 100644 index 0000000..fde9fca --- /dev/null +++ b/MyThreadd.java @@ -0,0 +1,34 @@ +// write a java code for two threads performing two tasks at a time +public class MyThreadd extends Thread +{ + String task; + + MyThreadd(String task) + { + this.task = task; + } + public void run() + { + for(int i=1; i<=5; i++) + { + System.out.println(task+ ":" +i); + try{ + Thread.sleep(1000); + } + catch(InterruptedException ie) + { + System.out.println(ie.getMessage()); + } + } + } + public static void main(String[] args) + { + MyThreadd th1 = new MyThreadd("Cut the ticket"); + MyThreadd th2 = new MyThreadd("Show your seat number"); + + Thread t1 = new Thread(th1); + Thread t2 = new Thread(th2); + t1.start(); + t2.start(); + } +} diff --git a/RunnableTest.java b/RunnableTest.java new file mode 100644 index 0000000..5010f28 --- /dev/null +++ b/RunnableTest.java @@ -0,0 +1,18 @@ +class x implements Runnable { + public void run() + { + for(int i=0; i<=5; i++) + System.out.println("The Thread x is: " +i); + System.out.println("End of the Thread x"); + } +} +class RunnableTest +{ + public static void main (String[] args) + { + x r=new x(); + Thread threadx=new Thread(r); + threadx.start(); + System.out.println("The end of the main Thread"); + } +} \ No newline at end of file diff --git a/SortingArray.class b/SortingArray.class new file mode 100644 index 0000000..1f7259b Binary files /dev/null and b/SortingArray.class differ diff --git a/SortingArray.java b/SortingArray.java new file mode 100644 index 0000000..84794a0 --- /dev/null +++ b/SortingArray.java @@ -0,0 +1,39 @@ +//12 write a java program for sorting arrayList +import java.util.*; + +public class SortingArray +{ + public static void main(String[] args) + { + ArrayList StationList = new ArrayList<>(); + + StationList.add("Panvel"); + StationList.add("Khandeshwar"); + StationList.add("Mansarover"); + StationList.add("Kharghar"); + StationList.add("Belapur"); + StationList.add("Seawoods"); + StationList.add("Nerul"); + StationList.add("Juinagar"); + StationList.add("Sanpada"); + StationList.add("Vashi"); + StationList.add("Mankhurd"); + + System.out.println("Unsorted List: \n"); + Iterator pre = StationList.iterator(); + while(pre.hasNext()) + { + System.out.println(pre.next()); + } + + Collections.sort(StationList); + System.out.println("\nSorted List: \n"); + + Iterator post = StationList.iterator(); + while(post.hasNext()) + { + System.out.println(post.next()); + } + + } +} \ No newline at end of file diff --git a/Stack15.class b/Stack15.class new file mode 100644 index 0000000..08cadbb Binary files /dev/null and b/Stack15.class differ diff --git a/Stack15.java b/Stack15.java new file mode 100644 index 0000000..b23723f --- /dev/null +++ b/Stack15.java @@ -0,0 +1,31 @@ +//15. write a java code to demonstrate stack +import java.util.*; +public class Stack15 +{ + public static void main(String[] args) + { + Stack food = new Stack(); + food.push("\nButter Chicken"); + food.push("Dal Makhani"); + food.push("Kadhai Paneer"); + food.push("Prawns Koliwada"); + food.push("Crab Soup"); + Iterator itr = food.iterator(); + while(itr.hasNext()) + { + System.out.println(itr.next()); + } + String Food = food.peek(); + System.out.println("\nThe Top food item is: " +Food); + + food.pop(); + System.out.println("\nAfter Pop:"); + Iterator newItr = food.iterator(); + while(newItr.hasNext()) + { + System.out.println(newItr.next()); + } + } +} + + \ No newline at end of file diff --git a/TestMultiPriority1.java b/TestMultiPriority1.java new file mode 100644 index 0000000..8e7462a --- /dev/null +++ b/TestMultiPriority1.java @@ -0,0 +1,17 @@ +//write a java code for demonstrating thread priority +class TestMultiPriority1 extends Thread { + public void run() + { + System.out.println("Running thread name is: " +Thread.currentThread().getName()); + System.out.println("Running thread priority is: "+Thread.currentThread().getPriority()); + } + public static void main(String[] args) + { + TestMultiPriority1 m1 = new TestMultiPriority1(); + TestMultiPriority1 m2 = new TestMultiPriority1(); + m1.setPriority(Thread.MIN_PRIORITY); + m2.setPriority(Thread.MAX_PRIORITY); + m1.start(); + m2.start(); + } +} \ No newline at end of file diff --git a/TestSynchronization2.java b/TestSynchronization2.java new file mode 100644 index 0000000..adc7c23 --- /dev/null +++ b/TestSynchronization2.java @@ -0,0 +1,72 @@ +//Write a java program for demonstrating thread synchronization +class Table +{ + synchronized void printTable(int n) + { + for(int i=1; i<=5; i++) + { + System.out.println(n*i); + try + { + Thread.sleep(400); + } + catch(Exception e) + { + System.out.println(e); + } + } + } +} + +class MyThread1 extends Thread +{ + Table t; + MyThread1(Table t) + { + this.t = t; + } + public void run() + { + t.printTable(5); + } +} + +class MyThread2 extends Thread +{ + Table t; + MyThread2(Table t) + { + this.t = t; + } + public void run() + { + t.printTable(100); + } +} + +public class TestSynchronization2 +{ + public static void main(String[] args) + { + Table obj = new Table(); + MyThread1 t1 = new MyThread1(obj); + MyThread2 t2 = new MyThread2(obj); + t1.start(); + t2.start(); + } +} + + + + + + + + + + + + + + + diff --git a/ThreadExample1.java b/ThreadExample1.java new file mode 100644 index 0000000..334625f --- /dev/null +++ b/ThreadExample1.java @@ -0,0 +1,16 @@ +public class ThreadExample1 extends Thread +{ + public void run() + { + int a = 22; + int b = 26; + int result = a+b; + System.out.println("Thread started running.."); + System.out.println("Sum of two numbers is: " +result); + } + public static void main(String[] args) + { + ThreadExample1 t1 = new ThreadExample1(); + t1.start(); + } +} diff --git a/TreeSet18a.class b/TreeSet18a.class new file mode 100644 index 0000000..776e52b Binary files /dev/null and b/TreeSet18a.class differ diff --git a/TreeSet18a.java b/TreeSet18a.java new file mode 100644 index 0000000..2f7ad88 --- /dev/null +++ b/TreeSet18a.java @@ -0,0 +1,19 @@ +//18a. write a java code to demonstrate tree set +import java.util.*; +public class TreeSet18a +{ + public static void main(String[] args) + { + TreeSet brands = new TreeSet(); + brands.add("YSL"); + brands.add("Prada"); + brands.add("Louboutin"); + brands.add("Maybellin"); + brands.add("YSL"); + Iterator itr = brands.iterator(); + while(itr.hasNext()) + { + System.out.println(itr.next()); + } + } +} \ No newline at end of file diff --git a/TreeSet18b.class b/TreeSet18b.class new file mode 100644 index 0000000..d2a62d8 Binary files /dev/null and b/TreeSet18b.class differ diff --git a/TreeSet18b.java b/TreeSet18b.java new file mode 100644 index 0000000..ffbbf62 --- /dev/null +++ b/TreeSet18b.java @@ -0,0 +1,19 @@ +//18b. write a java code to demonstrate tree set +import java.util.*; +public class TreeSet18b +{ + public static void main(String[] args) + { + TreeSet brands = new TreeSet(); + brands.add("YSL"); + brands.add("Prada"); + brands.add("Louboutin"); + brands.add("null"); + brands.add("YSL"); + Iterator itr = brands.iterator(); + while(itr.hasNext()) + { + System.out.println(itr.next()); + } + } +} \ No newline at end of file diff --git a/Vector14a.class b/Vector14a.class new file mode 100644 index 0000000..2d404b2 Binary files /dev/null and b/Vector14a.class differ diff --git a/Vector14a.java b/Vector14a.java new file mode 100644 index 0000000..731356a --- /dev/null +++ b/Vector14a.java @@ -0,0 +1,18 @@ +//14(a). write a java code to demonstrate vector +import java.util.*; +public class Vector14a +{ + public static void main(String[] args) + { + Vector name=new Vector(); + name.add("Misa"); + name.add("Aditya"); + name.add("Shyam"); + name.add("Aisha"); + Iterator itr=name.iterator(); + while(itr.hasNext()) + { + System.out.println(itr.next()); + } + } +} diff --git a/Vector14b.class b/Vector14b.class new file mode 100644 index 0000000..2cf1fee Binary files /dev/null and b/Vector14b.class differ diff --git a/Vector14b.java b/Vector14b.java new file mode 100644 index 0000000..07bac98 --- /dev/null +++ b/Vector14b.java @@ -0,0 +1,24 @@ +import java.util.Vector; +public class Vector14b +{ + public static void main(String args[]) + { + Vector groceryList = new Vector(); + groceryList.add("Bread"); + groceryList.add("Milk"); + groceryList.add("Eggs"); + + System.out.println("Grocery at index 0: " + groceryList.get(0)); + System.out.println("Grocery at index 1: " + groceryList.get(1)); + System.out.println("Grocery at index 2: " + groceryList.get(2)); + + System.out.println("Items in Grocery list: "); + for(String item:groceryList) + { + System.out.println(item); + } + + groceryList.remove(groceryList.get(2)); + System.out.println("Size of grocery after removal of Milk: " + groceryList.size()); + } +} \ No newline at end of file diff --git a/arrayList.class b/arrayList.class new file mode 100644 index 0000000..5e4a44f Binary files /dev/null and b/arrayList.class differ diff --git a/arrayList.java b/arrayList.java new file mode 100644 index 0000000..cdfe42a --- /dev/null +++ b/arrayList.java @@ -0,0 +1,22 @@ +// 11. write a java program to demonstrate ArrayList +import java.util.ArrayList; +public class arrayList { + public static void main(String[] args){ + ArrayList catList = new ArrayList<>(); + catList.add("Maine Coon"); + catList.add("Ragdoll"); + catList.add("Munchkin"); + + System.out.println("Cat Breed at index 0: " + catList.get(0)); + System.out.println("Cat Breed index 1: " + catList.get(1)); + System.out.println("Cat Breed index 2: " + catList.get(2)); + + System.out.println("Cat Breeds: "); + for(String cat: catList) { + System.out.println(cat); + } + + catList.remove(catList.get(2)); + System.out.println("Size of catList after removal of Ragdoll is: " + catList.size()); + } +} \ No newline at end of file diff --git a/linkedList.class b/linkedList.class new file mode 100644 index 0000000..35e3324 Binary files /dev/null and b/linkedList.class differ diff --git a/linkedList.java b/linkedList.java new file mode 100644 index 0000000..7ed3dc6 --- /dev/null +++ b/linkedList.java @@ -0,0 +1,25 @@ +//13. write a java program to demonstrate linked list +import java.util.LinkedList; +public class linkedList +{ + public static void main(String[] args) + { + LinkedList StationList = new LinkedList<>(); + + StationList.add("Kharghar"); + StationList.add("Belapur"); + StationList.add("Nerul"); + + System.out.println("Station at Index 0: " +StationList.get(0)); + System.out.println("Station at Index 1: " +StationList.get(1)); + System.out.println("Station at Index 2: " +StationList.get(2)); + + System.out.println("Name of Stations in StationList:"); + for(String Station: StationList) + { + System.out.println(Station); + } + StationList.remove("Belapur"); + System.out.println("Size of StationList after removal: " +StationList.size()); + } +} \ No newline at end of file diff --git a/outputs/13b prog.png b/outputs/13b prog.png new file mode 100644 index 0000000..f0c7fbf Binary files /dev/null and b/outputs/13b prog.png differ diff --git a/outputs/14a prog.png b/outputs/14a prog.png new file mode 100644 index 0000000..53481d8 Binary files /dev/null and b/outputs/14a prog.png differ diff --git a/outputs/14b prog.png b/outputs/14b prog.png new file mode 100644 index 0000000..b74f16a Binary files /dev/null and b/outputs/14b prog.png differ diff --git a/outputs/15 prog.png b/outputs/15 prog.png new file mode 100644 index 0000000..c94944e Binary files /dev/null and b/outputs/15 prog.png differ diff --git a/outputs/16 prog.png b/outputs/16 prog.png new file mode 100644 index 0000000..e22c3b2 Binary files /dev/null and b/outputs/16 prog.png differ diff --git a/outputs/17a prog.png b/outputs/17a prog.png new file mode 100644 index 0000000..896922b Binary files /dev/null and b/outputs/17a prog.png differ diff --git a/outputs/17b prog.png b/outputs/17b prog.png new file mode 100644 index 0000000..8013ef4 Binary files /dev/null and b/outputs/17b prog.png differ diff --git a/outputs/17c prog.png b/outputs/17c prog.png new file mode 100644 index 0000000..9ad5db0 Binary files /dev/null and b/outputs/17c prog.png differ diff --git a/outputs/18a prog.png b/outputs/18a prog.png new file mode 100644 index 0000000..63d2ff6 Binary files /dev/null and b/outputs/18a prog.png differ diff --git a/outputs/18b prog.png b/outputs/18b prog.png new file mode 100644 index 0000000..f4c39aa Binary files /dev/null and b/outputs/18b prog.png differ diff --git a/outputs/Area 9 b.png b/outputs/Area 9 b.png new file mode 100644 index 0000000..d2de0be Binary files /dev/null and b/outputs/Area 9 b.png differ diff --git a/outputs/Array list.png b/outputs/Array list.png new file mode 100644 index 0000000..7cf24cc Binary files /dev/null and b/outputs/Array list.png differ diff --git a/outputs/Generic Class 9A .png b/outputs/Generic Class 9A .png new file mode 100644 index 0000000..3847c6b Binary files /dev/null and b/outputs/Generic Class 9A .png differ diff --git a/outputs/Java Collection 10.png b/outputs/Java Collection 10.png new file mode 100644 index 0000000..3de039e Binary files /dev/null and b/outputs/Java Collection 10.png differ diff --git a/outputs/Sorting array 12.png b/outputs/Sorting array 12.png new file mode 100644 index 0000000..0057540 Binary files /dev/null and b/outputs/Sorting array 12.png differ diff --git a/outputs/program 12.png b/outputs/program 12.png new file mode 100644 index 0000000..a5d5ccc Binary files /dev/null and b/outputs/program 12.png differ diff --git a/outputs/program 13 linked list.png b/outputs/program 13 linked list.png new file mode 100644 index 0000000..7bca040 Binary files /dev/null and b/outputs/program 13 linked list.png differ