CSCI213:JavaProgrammingandObjectOrientedDesign Spring2013 Lab3
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([Link] toleft).Examples:APA,ABBA,AblewasIereIsawElba
Homework
[Link] ofcodeat1,2,3,4,5,6. [Link] 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?