I like hanging out with friends.

Please hang onto this book. It might be handy to you someday.

Yesterday I hanged out Japan with my friends.

Please correct my sentences.
Please hang onto this book. It might come in handy for you someday.

Yesterday I hung out in Akihabara with my friends.
I believe Mr. M follows the same procedure I do. If the sentence doesn't require correction, it's not commented on.

You can say that yesterday you hung out in Japan, but it implies that you are not in Japan now. Most people don't just dash into an entire country for the day and then leave. Perhaps Paris Hilton does it, but not normal people.
Teachers: We supply a list of EFL job vacancies
Thank you Mister Micawber.

Can I say "Yesterday I hung out in Japan with my friends"?

Also, why didn't you correct the first sentence? Does that mean the first sentence is correct?
 BarbaraPA's reply was promoted to an answer.
Site Hint: Check out our list of pronunciation videos.