public class Actions
{
public String reverse (String input)
{
String result = "";
for (int i = 0; i < input.length(); i++)
{
result = input.charAt(i) + result;
}
return result;
}
}
SUNY at Stony Brook, Fall 2009
Time: MWF, 10:40–11:35 AM
Location: Humanities 3018
Textbook: Objects First with Java: A Practical Introduction using BlueJ, 4th Edition, by David J. Barnes & Michael Kölling (Prentice Hall/Pearson 2008).
ISE 208 students are required to purchase access to CodeLab. CodeLab problem sets will be assigned as homework throughout the semester. Be sure to register for section SUN-STOBRO-0735-0
The Java Development Kit (JDK) can be downloaded from Sun's Java Web site. Be sure to download the JDK, not the JRE!
The BlueJ IDE is available as a free download from http://www.bluej.org
The Eclipse IDE is available as a free download from http://www.eclipse.org
Instructor: Michael Tashbook
E-mail: tashbook@cs.sunysb.edu
Office: Computer Science 1402
Office Hours: Tuesday and Thursday, 12:30–2:30 PM and online as announced over AIM (username: Mtashbook)
Undergraduate TA: Ibtisam Ul Haque (iuhaque AT ic DOT sunysb DOT edu)
UG TA office hours: Tuesday, 4–6 PM, in Computer Science 2126
Graduate TA: Nafees Ahmed
(nuahmed AT cs DOT sunysb DOT edu)
public class Actions
{
public String reverse (String input)
{
String result = "";
for (int i = 0; i < input.length(); i++)
{
result = input.charAt(i) + result;
}
return result;
}
}
This page was last modified on 8/25/09