Find a plate with name rose from a stack of ten plates


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.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Find a plate with name rose from a stack of ten plates
Reference No:- TGS02877947

Expected delivery within 24 Hours