null type implement Scanner interface