1. Eras. See this table mapping years to era, for the western reckoning of history: e Year Era 1-283 Antiquity 284-700 L
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
1. Eras. See this table mapping years to era, for the western reckoning of history: e Year Era 1-283 Antiquity 284-700 L
1. Eras. See this table mapping years to era, for the western reckoning of history: e Year Era 1-283 Antiquity 284-700 Late Antiquity 701-1000 Early Middle Ages 1001-1250 High Middle Ages 1251-1500 Late Middle Ages 1501+ Modern Period In Digits.java, use if...else statements to take a number and return a String with the corresponding era name. Remember that Strings are contained in double quotes. For example, return "Antiquity". Strings are relatively simple: < To declare a string variable: String s1; To assign a string to a value:< s1 = "Java";< A string can have a null value, like so: s1= null;< If the year is less than 0 return null, as shown in line 6. J