Cannot find symbol class createFragment

Please check the following answer in this chapter.