ITEM 45: USE STREAMS JUDICIOUSLY
205
the code that opens the dictionary file, is contained in a single expression. The
only reason the dictionary is opened in a separate expression is to allow the use of
the
try
-with-resources statement, which ensures that the dictionary file is closed:
Do'stlaringiz bilan baham: