0% found this document useful (0 votes)
40 views1 page

CSCI213 Spring2013 Workshops Lab 3

This document outlines the lab assignment for a Java programming course. Students are asked to create 5 separate programs that use conditions and iterations to check strings: 1) check if a string has uppercase letters, 2) check if a string has spaces, 3) count words in a string, 4) invert a string, and 5) check if a string is a palindrome. Additionally, students are asked to download two Java files, make additions to the code, and answer two analysis questions.

Uploaded by

ami_haroon
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views1 page

CSCI213 Spring2013 Workshops Lab 3

This document outlines the lab assignment for a Java programming course. Students are asked to create 5 separate programs that use conditions and iterations to check strings: 1) check if a string has uppercase letters, 2) check if a string has spaces, 3) count words in a string, 4) invert a string, and 5) check if a string is a palindrome. Additionally, students are asked to download two Java files, make additions to the code, and answer two analysis questions.

Uploaded by

ami_haroon
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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?

You might also like