Public class scannerdemo public static void main string args string s hello true world. We have a software. Scanner s new scanner system in.