What is the difference between 'By June, she will have written the book' and 'By June, she will have been writing the book for eight months'?
Explanation
Future perfect = book will be done (result/completion). Future perfect continuous = how long she will have been writing (duration/process).
Reference: English Grammar Guide
, Page 12
Hint
Perfect = result. Perfect continuous = duration of ongoing process.