If the Pics directory doesn't exist, maybe the code will just create a new one called 'Pics_2' and call it a day. That's how it works, right? *wink wink*
Oh, I know this one! It's gotta be A. If the directory doesn't exist, the Paths.get() method is going to throw an exception, no doubt about it. I'm feeling pretty confident about this one.
Hold on, if the directory doesn't exist, wouldn't it just print the file name? I'm going to go with D - 2:Pics: MyPic.jpeg. Seems like the most logical answer to me.
Hmm, I'm not too sure about this one. If the directory doesn't exist, I'm guessing it might try to create it or something. Let's see, maybe B is the answer? 2:MyPic.jpeg: MyPic.jpeg sounds about right.
Well, this is a tricky one. I'm going to go with A - an exception is thrown at run time. The Paths.get() method requires the directory to exist, so if it doesn't, it's going to throw an exception. Let's see how it plays out!
Arlie
1 months agoLeonora
1 months agoPaz
12 days agoLouann
14 days agoMira
1 months agoLawrence
9 days agoHalina
10 days agoJohnna
14 days agoLilli
2 months agoAudry
2 days agoRessie
15 days agoVicky
16 days agoFelix
1 months agoTrinidad
1 months agoMicheal
1 months agoBok
2 months agoDorothea
2 months agoLawrence
2 months agoRory
2 months agoYun
2 months agoKing
2 months agoDustin
2 months agoColene
14 days agoLucy
15 days agoCarey
16 days agoAlethea
2 months ago