SCJP

  1. StackOverFlow is an error not an exception thrown by JVM.
  2. Forward referencing plays an important role on the exam.
  3. You can call a method which takes var-args as a parameter without passing any arguments.
  4. If you get a question where a child object is passed to the parent reference means polymorphism and if the constructor of the parent object is calling an instance method, then the version which will be called will be of child class not the parent class.
  5. Can be used to compare any combination of integers, floating-point numbers or charaters. (NUMBERS)
  6. Only objects that can be used with these operators are numeric wrapper and Character objects(a combination of wrappers and primitives also).
  7. Operators: == != Can be used to compare following groups:numbers and chars, boolean, Object references
  8. If we try to compare one catagory with another - compile error (Only numbers and wrappers can be intermixed).
Author
info2anu
ID
18804
Card Set
SCJP
Description
scjp
Updated