Forum: Java Oct 23rd, 2006 |
| Replies: 8 Views: 1,715 yes
int outsideTemperature = 80, shelfLife=10; |
Forum: Java Oct 23rd, 2006 |
| Replies: 8 Views: 1,715 i understand that its missing a variable..
i cant find which variable to use.... |
Forum: Java Oct 23rd, 2006 |
| Replies: 8 Views: 1,715 if(outsideTemeratures > 90){
shelfLife=shelfLife-4;
}
i have to use the outsideTemperature variable
i dont understand...:sad: |
Forum: Java Oct 23rd, 2006 |
| Replies: 8 Views: 1,715 |
Forum: Java Oct 23rd, 2006 |
| Replies: 8 Views: 1,715 Write a conditional that decreases the variable shelfLife by 4 if the variable outsideTemperature is greater than 90 .
if(outsdieTemperature > 90){
shelfLife-4;
}
something is... |
Forum: Java Oct 23rd, 2006 |
| Replies: 2 Views: 1,028 Write a conditional that assigns the boolean value true to the variable fever if the variable temperature is greater than 98.6 .
i dont understand what i'm suppose to do...
can you... |
Forum: Java Oct 10th, 2006 |
| Replies: 3 Views: 1,807 i have to set the time in minutes when this plane is expected to land or take-off. and i have to use method int..:eek:
public int setScheduledTime() {
}
what should i do.... :sad: |
Forum: Java Oct 10th, 2006 |
| Replies: 3 Views: 2,510 |
Forum: Java Oct 9th, 2006 |
| Replies: 3 Views: 2,510 public class Plane {
private String FlightNumber;
private String Location;
private boolean isLanding;
private int ScheduledTime;
private static int TotalPlanes;
public... |
Forum: Java Oct 9th, 2006 |
| Replies: 2 Views: 931 |
Forum: Java Oct 9th, 2006 |
| Replies: 2 Views: 931 public Plane(String FlightNumber, String Location)
can i use 2 strings ...? |
Forum: Java Oct 9th, 2006 |
| Replies: 4 Views: 5,473 public type method(){
method = method*2;
return this.method;
}
this is what i had.....but its wrong.. :( |
Forum: Java Oct 7th, 2006 |
| Replies: 3 Views: 2,438 thanks! it's been lot of help.. |
Forum: Java Oct 7th, 2006 |
| Replies: 4 Views: 5,473 hi everyone i need some help with java..:sad:
Write the definition of a method twice , which receives an integer parameter and returns an integer that is twice the value of the parameter.
... |
Forum: Java Oct 7th, 2006 |
| Replies: 3 Views: 2,438 You are given a class named Clock that has one int instance variable called hours . Write a constructor for the class Clock that takes one parameter, an int , and gives its value to hours .
... |