Write classes/methods to calculate the totallength of a set of lines given the start and end points taking into account overlapping.E.g.Line 1 start: -1.4, end: 3.2 Line 2start: 2.9, end: 4.1etc..Total length would be:line 1 length = 4.6 line 2 length =1.2, but as line 2 overlaps line 1 by 0.3, therefore length of set is 5.5(rather than 5.8).Please see if you can think of good solution!

Questions by sayfur79

Showing Answers 1 - 2 of 2 Answers

saikumar

  • Nov 28th, 2005
 

This is great site java devlopers

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions