Solved

What Is the Purpose of the Following Code Segment

Question 45

Essay

What is the purpose of the following code segment?
13 String flightRecord1 = "AA123,BWI,SFO,235,239.5";
14 Scanner parse = new Scanner( flightRecord1 );
15 // set the delimiter to a comma
16 parse.useDelimiter( "," );

Correct Answer:

verifed

Verified

The flightRecord1 String variable is dec...

View Answer

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

Related Questions