Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

More Books

Students also viewed these Databases questions