Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About ansarise

  • Rank
  1. Create java program to read java file and find the number of classes, number of methods in each class and also i want to print the number of lines in each class separately. Print Total number lines in the input Java file also...
  2. ansarise


    1. My question is to create a java program tat will read a java file as input.2. In the inputed java file , have find how many different class available and print the number of class3.Print all class names4.in each class identify how many methods or functions declared inside and print how many methods in one single class and repeat this for all class and print the number of lines in one single class in the inputed java file5. Then print total number of lines in the inputed java file.What I did reading the file and counting all lines in inputed java file .But my code is not searching for the cl
  • Create New...