CSCI213 Spring2013 Workshops Lab 3
CSCI213 Spring2013 Workshops Lab 3
Conditions&Iterations
You are required to develop code by yourself for the following cases. Make sure each is a separate program meant to run independent of theothers. CheckifaninputString(viaargs[])hasuppercase Checkifaninputstring(viauserinput)hasaspace Countthenumberofwordsinastring InvertaString CheckifaStringisapalindrome(i.e.canreadfromlefttorightorright toleft).Examples:APA,ABBA,AblewasIereIsawElba
Homework
DownloadAirport.javaandcompletethecodebyaddingnecessarylines ofcodeat1,2,3,4,5,6. DownloadAirportClient.javaandcompletethecodebyaddingnecessary linesofcodeat1,2,3. 1. Explain code in AirportClient in terms of instance variables and methods. 2. What can you conclude based on the results of the comparisons betweentwoobjects?