Answer:
•SEE BELOW•
Science-fiction novels were her constant companions.” is an example of personification.
REASON: Science-fiction novels were his constant companions. Only a person or animal can literally be a 'companion'; books are just objects. But this personification tells us that the books meant a lot to him, like close friends, and probably brought him happiness, like friends would.
HOPE IT HELPS!
MARK AS BRAINLIAST.