Question: what is the code in java as case switch for public static void main ( String [ ] args ) , / / TODO code

what is the code in java as case switch for
public static void main(String[] args),
// TODO code application logic here
Scanner in = new Scanner(System. in );
System.out.println("Please enter an hour: ");
int num = in.nextint();
if (num =12)
System. out.println("Good Morning");
what is the code in java as case switch for

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 Programming Questions!