Self-test Questions

  1. Classes belong to which data type?
    1. Primitive
    2. Non-primitive
    3. Both a and b
    4. None
  2. Which one of the following is true for local variables?
    1. Local variables are declared in methods, constructors, or blocks
    2. Local variables are declared in a class, but outside a method, constructor or any block
    3. Both a and b
    4. None

Get Learning Selenium Testing Tools - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.