Solved

Insert the Missing Code in the Following Code Fragment

Question 75

Multiple Choice

Insert the missing code in the following code fragment. This fragment is intended to read binary data. public static void main(String[] args) throws IOException
{
String address = "http://horstmann.com/bigjava.gif";
URL imageLocation = new URL(address) ;
InputStream in = _________;
) . .
}


A) new Scanner("http://horstmann.com/bigjava.gif")
B) new Scanner(imageLocation)
C) new imageLocation.openStream
D) imageLocation.openStream()

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions