Teach these four Scanner methods that allow students to write interesting code at the beginning of an introductory Java course to give students a feel for programming without overwhelming them.

Like(202 Likes)
  • The four methods to start with are:
    • int
    • double
    • next
    • nextline
  • These four methods provide enough functionality to work on interesting and engaging projects and are selective enough to be approachable.
  • With these four methods students can work with numbers, words, and sentences.
  • One fun project that students can do after they’ve mastered these four method, learned how to use the Scanner library, and learned println() is a Mad Lib game.
External Source

Interview with Dani McAvoy

Other Tips By