Java Language Which of the following statements is true? Select all that apply. Select one or more: 1.Data maintained in files is often called transient data. 2.Data is lost when a local variable “goes out of scope.†3.Files are used for long-term retention of large amounts of data. 4.Storage of data variables and arrays is temporary. Which of the following classes enable input and output of entire objects to or from a file? Select all that apply, Select one or more: 1.Scanner 2.Formatter 3.ObjectInputStream 4.SerializedOutputStream 5.SerializedInputStream 6.ObjectOutputStream A serialized object is ________. Select one: 1.an object in memory that has been recreated from data in a file 2.a standard output stream object used to convert objects in code to data in a file 3.an object represented as a sequence of bytes used to store the object’s data in a file 4.none of the above Thank you! Solution 1) Data mainatined in files is often called transient data. 2) Scanner 3) an object represented as a sequence of bytes used to store the object\'s data in a file .