Which one of the following syntaxes is the correct syntax to read from a simple text file stored in ''d:\java.txt''?
i) Infile = open(''d:\\java.txt'', ''r'')
ii) Infile = open(file=''d:\\\java.txt'', ''r'')
iii) Infile = open(''d:\java.txt'',''r'')
iv) Infile = open.file(''d:\\java.txt'',''r'')