Write code for a try-with-resources header that creates a stream containing information about whats in the parent

Question:

Write code for a try-with-resources header that creates a stream containing information about what’s in the parent of the current directory.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: