MCPcopy Create free account
hub / github.com/SR-Sunny-Raj/Hacktoberfest2021-DSA / displayMainMenu

Method displayMainMenu

32. Java Programs/hotelManagement.java:403–412  ·  view source on GitHub ↗
(ArrayList list)

Source from the content-addressed store, hash-verified

401 }while(ch!=j);
402 }
403 void displayMainMenu(ArrayList list)
404 {
405 int i=1;
406 Iterator itr1=list.iterator();
407 while(itr1.hasNext())
408 {
409 System.out.println(" "+i+"."+itr1.next());
410 i++;
411 }
412 }
413 void editprofile(){
414 Scanner sc = new Scanner(System.in);
415 System.out.println("_____________Edit profilr_____________");

Callers 1

removeitemMethod · 0.80

Calls 2

hasNextMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected