Problem: Hello Kodlogers, I have started learning Java programming recently. I am solving problems from many websites and even textbooks. Right now I got a problem that says to get numbers of lines in a file using java program. I don’t know how to solve this ... . So, it would be better if you can solve the problem and attach the code for my better understanding. Thanks for your concern.