Pregunta de entrevista de Walmart

Write a program to count the number of lines in a java program