Q:
      
      
         
            
Which of the following is true?
         
       
      
      
      
          
      
      
          Answer & Explanation
         Answer: C) It is NOT appropriate to use assertions to validate command-line arguments         
         
Explanation: A is incorrect. It is acceptable to use assertions to test the arguments of private methods.
 
B is incorrect. While assertion errors can be caught, Sun discourages you from doing so.
       
      
      
      
          View Answer
          Report Error
          Discuss