1 verses of the King James Version have both "having" and "learned".
John 7:15 And the Jews marvelled, saying, How knoweth this man letters, having never learned?
In other translations: WEB ASV YLT Darby Webster DRC