Objects and Classes - Part 2


Quiz

  • Are the Strings Immutable? Why?
  • What is a static attribute and method?, provide a context and give and example.
  • How works the == symbol?
  • What is the difference between == and equals?
  • How works the toString method before to be overriding?
  • What is the difference between String s = "foo" and String s = new String("foo")
  • How can you determine the class that an object belongs to?
  • What is the purpose of the final key word?.

results matching ""

    No results matching ""