Friday, December 21, 2012

OCJP EXercise- II

How do you create a new cookie?

Choice 1
    Assign values to the document.cookie property.
Choice 2
    Clone another cookie.
Choice 3
    Call newCookie().
Choice 4
    Reset the expiration date on an existing cookie.
Choice 5
    Call document.newCookie().



======================================================================

Which one of the following is not Javascript Math Objects Property



LOG10

PI

E

LN10

LOG10E


=====================================================================

What is the difference between WAR and EAR files?

Choice 1
    WAR is used to package JAR files; EAR is used to package JSP files.
Choice 2
    WAR is used to package resources for Web applications; EAR is used to package Web applications themselves.
Choice 3
    WAR is used in pre- J2EE 1.4 application servers; EAR is its equivalent from J2EE 1.4 going forward.
Choice 4
    WAR is used to package Web applications; EAR is used to package enterprise resources for those Web applications.
Choice 5
    WAR is used to package Web applications; EAR is used to package WAR files and JAR files with EJBs.// answer

No comments:

Post a Comment

Thank you Keep Sharing ur Knowledge.