Java Certifications
www.javacertifications.com
 home  scjp1.5  scjp1.6  scwcd 1.5  scjp 1.5 questions  scjp 1.6 questions  scwcd 1.5 questions  scjp 1.5 success kit  scjp 1.6 success kit  
  JavaCertifications.net provides java certfication tutorials and mock questions.  


Bookmark and Share |||     Share   
805 scjp 1.6 questions with explanations ||| 788 scjp 1.5 questions with explanations ||| 650 SCWCD 5.0 questions with explanations

Mock Questions

  scjp 1.5

  • Declarations, Initialization & Scoping
  • Method overriding or overloading
  • Inner Classes
  • Flow Control
  • Type Safe Enum
  • Enhanced for loop
  • Assertions
  • Exception
  • API Contents autoboxing & unboxing
  • File
  • Serializable
  • java.text and Locale
  • Regular Expression
  • Collections and Generics
  • Thread and Concurrency

  •   scjp 1.6

  • Declarations, Initialization & Scoping
  • Method overriding or overloading
  • Inner Classes
  • Flow Control
  • Type Safe Enum
  • Enhanced for loop
  • Assertions
  • Exception
  • API Contents autoboxing & unboxing
  • File
  • Serializable
  • java.text and Locale
  • Regular Expression
  • Collections and Generics
  • Thread and Concurrency
  • NavigableMap
  • NavigableSet
  • java.io.Console

  •   scwcd 1.5

  • Servlet Basic
  • The Structure and Deployment of Web Applications
  • The Web Container Model
  • Servlet event listeners
  • Session Management,session listeners
  • Servlet Filter
  • Web Application Security
  • j2ee patterns
  • JSP Directives
  • JSP page life cycle
  • JSP implicit objects
  • JSP include
  • Expression Language (EL)
  • JSTL
  • Building a Custom Tag Library
  • SCWCD : The Web Container Model Mock Exam Practice Questions

    Question -1 
    If a servlet generates an error that is not handled by the error_page mechanism, the container must ensure to send a response with status ______?.
    
    
    
    options A)500 B)404 C)400 D)401 Correct answer is : A Explanations : If a servlet generates an error that is not handled by the error_page mechanism , the container must ensure to send a response with status 500.
    Question -2 
    Web applications can be packaged and signed into a Web Archive format (WAR) file using the standard Java archive tools.
    When packaged into such a form, a META-INF directory will be present which contains information useful to Java archive tools.
    Any requests from the client to access the resources in META-INF/ directory MUST be returned with a  ________ ?
    
    
    
    options A)SC_NOT_FOUND B)SC_INTERNAL_SERVER_ERROR C)ESC_BAD_REQUEST D)None of the above Correct answer is : A Explanations : Any requests from the client to access the resources in META-INF/ directory MUST be returned with a SC_NOT_FOUND (404) response.
    Question -3 
    The classes in _________ directory must be available to the application class loader ?
    
    
    
    options A)/WEB-INF/classes/ B)/WEB-INF/lib/classes/ C)/root/classes/ D)/root/lib/classes/ Correct answer is : A Explanations : The /WEB-INF/classes/ directory for servlet and utility classes. The classes in this directory must be available to the application class loader.
    scjp 1.5 | scjp 1.6 | scwcd 1.5
    Java Certifications
    www.javacertifications.net