Computer Education Introduction to Computer Science Using Java™ Computer Education Introduction to Computer Science Using Java™   Glencoe Online
Computer Education Home Product Information Site Map Search Contact Us

Students

Self-Assessment Exercises

Chapter 3: Classes and Class Members
      
  1.The private ________ of a class is the detailed explanation of how a class does its work.  
  a.   implementation  
  b.   interface  
  c.   object  
  d.   section  
      
  2.Which of the following is one of the Java intrinsic (primitive) types?  
  a.   boolean  
  b.   double  
  c.   int  
  d.   All of the above  
      
  3.Which keyword is used to create an instance of a class?  
  a.   class  
  b.   extends  
  c.   instantiate  
  d.   new  
      
  4.The this keyword is a reference to a(n) ________.  
  a.   class  
  b.   keyword  
  c.   object  
  d.   program  
      
  5. The ________ class contains a method called setColor().  
  a.   Color  
  b.   FancyText  
  c.   Graphics  
  d.   Object  

 

McGraw-Hill Glencoe   The McGraw-Hill Companies
Self-Assessment Exercises
Java Compilers
Source Code
Java Resources
PowerPoint® Presentations
Home