03/22/2021 Rivka Scheinberg Post in Implementing an Interface,Oracle Exams,Static Member Types Leave a Comment on The Math Class – Selected API Classes The Math Class – Selected API Classes 8.6 The Math Class The final class java.lang.Math defines a set of static methods to support common mathematical functions, including functions for rounding numbers, finding the maximum and minimum of two numbers, calculating logarithms and exponentiation, performing exact arithmetic, generating… Continue Reading
01/22/2021 Rivka Scheinberg Post in Non-Static Member Classes,Oracle Exams,Static Member Types Leave a Comment on Anonymous Classes – Nested Type Declarations Anonymous Classes – Nested Type Declarations 9.6 Anonymous Classes Declaring Anonymous Classes Classes are usually first defined and then instantiated using the new operator. Anonymous classes combine the process of definition and instantiation into a single step. Anonymous classes are defined at the location they are… Continue Reading