English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Write a method to expand the class Balloon (found in Chapter 9) that moves a balloon upwards by an amount given as the parameter. Name the method moveUp.

2007-12-05 02:56:36 · 6 answers · asked by Nick L 1 in Computers & Internet Programming & Design

6 answers

Or else if you are still stuck with your homework, you may contact a homework helper at websites like http://homeworkhelp.co.in/

2007-12-05 22:03:40 · answer #1 · answered by Anonymous · 0 0

Why roll your own when there is in all likelihood a calendar widget you can reuse? By the way, the Java API itself provides many useful classes and interfaces: Date, Calendar, GregorianCalendar, DateFormat, and SimpleDateFormat.

2016-05-28 07:09:38 · answer #2 · answered by ? 3 · 0 0

as they said it's a homework of your own
but I may give help if you wrote down the class Baloon which we have to expand
the one in chapter 9 as the books says ;-)

2007-12-05 21:33:01 · answer #3 · answered by mhnd_79 3 · 0 1

Jim, the most inventive way I've ever seen telling somebody to do their own work...

2007-12-05 03:42:39 · answer #4 · answered by Big John Studd 7 · 0 1

Haha, good one Jim.

2007-12-05 03:09:31 · answer #5 · answered by Paul 2 · 2 2

public boolean moveUp(int dist) {
System.out.println("Do your own classwork");
if (dist != 0) {
System.out.println("Ha Ha");
return true;
} else {
System.out.println("He He");
return false;
}

2007-12-05 03:02:06 · answer #6 · answered by Jim Maryland 7 · 5 2

fedest.com, questions and answers