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"); }

I have written this code in blue J and it has giving

me 2 errors. import java.util.*; /** * Write a description of class

How do I fix this?

Class Edit Tools ello X Options Compile Undo Cut Copy Paste } Find... Close } public static void main(String args[]) { int String[]=new string(10); System.out.println("WHAT YOU WANTS TO ORDI for(int i=0; i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!