Python to Java Converter online
import urllib
url = "https://raw.githubusercontent.com/first20hours/google-10000-english/master/google-10000-english-usa.txt"
file = urllib.request.urlopen(url)
words = []
for line in file:
decoded_line = line.decode("utf-8")
words.append(decoded_line[:-1])
Rich Reindeer