Question
1-Which of the following is *NOT* true of binary file I/O? a.It allows an application to read and write entire objects to and from files
1-Which of the following is *NOT* true of binary file I/O?
a.It allows an application to read and write entire objects to and from files b.It uses files that cannot generally be read with a plain text editor or word processor c.It requires writing code to parse primitive data types d.It requires casting objects read from files to the correct data types e.Java's ObjectInputStream and ObjectOutputStream allow you to write code without knowing whether the files will be sotred on hard drives, SSDs, flas drives, etc.
2-Which of the following statements is/are *false*? a.An instance method may use a static variable b.A static method may use a static variable c.A static method may use an instance variable of its class even if there are no instances d.A static method may use a setter to set a value in an instance of a different class
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started