Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.
Although the output of following is spring, but how can we use the command line argument for the same program? pls solve thisthanks in advanceclass Ifelse{public static void main(String arr[]){int month=4;String season;if (month==12||month==1||month==2)season = "winter";else if (month==3||month==4||month==5)season = "spring";else if (month==6||month==7||month==8)season = "summer";else if (month==9||month==10||month==11)season = "autumn";elseseason = "bogus month";System.out.println(season);}}
Profile Answers by deepakdev Questions by deepakdev
Questions by deepakdev
Related Answered Questions
Related Open Questions