Write a program that reads a Java source code file and outputs a list of all
Chapter 4, Problem 4.52(choose chapter or problem)
Write a program that reads a Java source code file and outputs a list of all identifiers(that is, variable names but not keywords, not found in comments or stringconstants) in alphabetical order. Each identifier should be output with a list of linenumbers on which it occurs.
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer