Question: I have written this code in blue J and it has giving me 2 errors. import java.util.*; /** * Write a description of class Track
I have written this code in blue J and it has giving me 2 errors.
import java.util.*; /** * Write a description of class Track here. * * @author (your name) * @version (a version number or a date) */
public class Hello{ static void checkmealstatus(String str[]){ //Declaring Function CHECKMEALSTATUS System.out.println("YOUR ORDER STATUS IS"); for(int i =0; i public static void main(String args[]){ int String[]=new string[10]; System.out.println("WHAT YOU WANTS TO ORDER?"); for(int i=0;i int k=sc.nextInt(); if(k==1){ checkmealstatus(a); //Calling that function(hence it will go to that function and hence user can track) } } else{ System.out.println("your order is being prepared"); } How do I fix this? 

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
