Walmart Interview Question

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