Scanner constructor Null safety

Scanner()