Revision of Class 9 (2): Introduction to Java, Input and Math Methods - ICSE Class 10 Computer Applications Notes, Diagrams and Solved Questions

How Java runs (bytecode and the JVM), print and println, reading input with Scanner, the three kinds of errors, and every Math method in the syllabus with its exact return type.

In this chapter

  • Bytecode, the JVM and the features of Java
  • print vs println, and joining text with +
  • Scanner: nextInt, nextDouble, next, nextLine and reading a char, with an input stepper
  • Syntax, runtime and logical errors
  • Math.sqrt, cbrt, pow, abs, max and min, and what type each returns
  • Math.round, ceil, floor and random, with a pick-and-see explorer
  • Writing maths formulas as Java expressions