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 agoLaurel
1 days agoPaz
15 days agoLouann
17 days agoMira
2 months agoLawrence
12 days agoHalina
13 days agoJohnna
17 days agoLilli
2 months agoKendra
5 hours agoAudry
5 days agoRessie
18 days agoVicky
19 days agoFelix
1 months agoTrinidad
1 months agoMicheal
2 months agoBok
2 months agoDorothea
2 months agoLawrence
2 months agoRory
2 months agoYun
2 months agoKing
2 months agoDustin
2 months agoColene
17 days agoLucy
18 days agoCarey
19 days agoAlethea
2 months ago