1.Infile = open(''d:\java.txt'', ''r'')
2.Infile = open(file=''d:\java.txt'', ''r'')
3.Infile = open(''d:java.txt'',''r'')
4. Infile = open.file(''d:\java.txt'',''r'')
Answer:1