5. Input in Java
Initialization, Parameter, introduction to packages, Input streams (Scanner Class), types of errors, types of comments.
Initialization – Data before execution, Parameters – at the time of execution, input stream – data entry during execution – using methods of Scanner class [nextShort(), nextInt( ), nextLong( ), nextFloat ( ), nextDouble( ), next( ), nextLine( ), next ( ) .charAt(0) ]
Discuss different types of errors occurring during execution and compilation of the program (syntax errors, runtime errors and logical errors). Single line comment (//) and multiline comment (/ ... /)