Jump to content

Recommended Posts

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 class name and method name and its number and number of lines in one single class, rather it sees the base program

Link to post
Share on other sites

although we are to help, we are not here to do others' homework. perhaps if you at least posted some code as a sign of good faith, you might get some more help.edit: also, there is no reason to double post.http://w3schools.invisionzone.com/index.php?showtopic=37152not too many members participate in this particular sub-forum, so my advice would be to be patient and eventually someone will come along and help.

Edited by thescientist
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...