1. Which type? /** A generic building */ public class Building { double floorSpace; //total floor space in square feet int floorCount; //number of floors String address; //address of the building String owner; //owner of the building boolean ownerOccupied; //is the owner an occupant of the building? int phoneLineCount; //number of connected telephone lines } //////////////////////////////////////////////////////////////////////////////////////////////// 2. Java API a. API stands for Application Programming Interface. (i) It is a list of avaliable java classes organized according to packages. (ii) For each class, it lists the instance methods, static methods, as well as instance and static variables avaliable to the programmer. (iii) A brief description of the expected functionality of each class and the methods it contains is included. b. the two fields are E and PI. c. System.currentTimeMillis() d. the method trim Returns a copy of the string, with leading and trailing whitespace omitted. e. the pattern character 0 means Digit and # means Digit, zero shows as absent. f. four constructors. g. an integer from 0 to 11 is used for representing a month.