Version | Month | Animal |
---|---|---|
2020.3.1 | July | Arctic Fox |
2021.1.1 | January | Bumble Bee |
2021.2.1 | May | Chipmunk |
2021.3.1 | September | Dolphin |
2022.1.1 | January | Electric Eel |
2022.2.1 | April | Flamingo |
2022.3.1 | July | Giraffe |
2023.1.1 | November | Hedgehog |
2023.2.1 | February | Iguana |
2022.3.1 | TBA | Giraffe |
2022.3.2 | TBA | Koala |
int double char boolean
String word; if (n == 1) { word = "one"; } else if (n == 2) { word = "two"; } else { word = "many"; }
app src main java res
MainActivity.java activity_main.xmlAns: Here are the paths to each of these folders:
TextDisplay/app/src/main/java/it372/smiths/textdisplay/MainActivity.java TextDisplay/app/src/main/res/layout/activity_main.xml
View TextView Button LinearLayout
public class TempDesc { public static String getDescriptor(int temp) { if (temp < 0.0) { return "frigid"; } else if (temp < 45.0) { return "cold"; } else if (temp < 65.0) { return "chilly"; } else if (temp < 75.0) { return "perfect"; } else if (temp < 90.0) { return "warm"; } else { return "hot"; } } public static void main(String[ ] args) { int t = 88; System.out.println(TempDesc.getDescriptor(t)); } }
+------------------------------+ | TempDescriptor | +------------------------------+ | - temperature | +------------------------------+ | + TempDescriptor(temp : int) | | + getTemperature( ) : int | | + getDescriptor( ) : String | +------------------------------+