Question 1
What is the function of a frame's pack method?
◦ It deletes unused storage
◦ It forces orphan objects to be reclaimed by the garbage collector
◦ It sets the size appropriately for display
◦ It forces the frame contents to be up-left justified
◦ none of these
Question 2
What is the function of the dot operator?
◦ It serves to separate the integer portion from the fractional portion of a floating point number
◦ It allows one to access the data within an object when given a reference to the object
◦ It allows one to invoke a method within an object when given a reference to the object
◦ It is used to terminate commands (much as a period terminates a sentence in English)
◦ Both It allows one to access the data within an object when given a reference to the object and It allows one to invoke a method within an object when given a reference to the object are correct