Question: Need HELP, Please keep it simple and show the output too. Thank you. write a program in Java Language to count (in LOC) the total

Need HELP, Please keep it simple and show the output too. Thank you.

write a program in Java Language to count (in LOC) the

total program size

total size of each of the programs parts (classes, functions, or procedures)

the number of items (or methods) in each part

Produce and print

a single count for the entire program

size and item counts for each part together with the part name

If LOC is not a suitable size measure for the language you use, see chapter 3 and the following Hints section for alternative ways to measure size. Then write program 2 to use those measures.

Use the size counting standard and the coding standard defined in your report assignments.

Thoroughly test the program. At a minimum, test the program by counting the total program and part sizes in programs 1 and 2. Example output is illustrated in Table 1. In Table 1, consider the word part to be whatever applies for your language: class, function, procedure, and so forth.

Program Number

Part Name

Number of Items

Part Size

Total Size

1

ABC

3

86

DEF

2

8

GHI

4

92

212

2

Table 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!