Leland's parents had been too shy to tell him anything about sex when most boys ask what's going on. Leland actually didn't realize there was anything to ask about back then.
They figured his friend would tell him, not knowing that he didn't have any friends. The other boys his age just figured Leland would never have an opportunity to use the information anyway.
So Leland learned from books.