object oriented analysis and design
You need a functional code in java including main just to compile and run
Find a plate with name Rose from a stack of ten plates Private stack plates;
Class ind_plate { string mark; ...
}
Int i; While (i <= 10) Do {
i++; Ind_plate iplate; Iplate= pop (plates);
If (iplate.mark == "Rose")
System.outr.println("plate"+ i + has "Rose as its mark", /n);
}
After finding the plate/s with "Rose" add a plate with "Mary" as the mark below the Rose Plate. And add a plate with "Ms" as the mark above the Rose Plate.