[Free] 2017(Jan) EnsurePass Testinsides Oracle 1z0-850 Dumps with VCE and PDF Download 31-40

Ensurepass.com : Ensure you pass the IT Exams 2017 Jan Oracle Official New Released 1z0-850
100% Free Download! 100% Pass Guaranteed!
http://www.EnsurePass.com/1z0-850.html

Java Standard Edition 5 and 6, Certified Associate Exam

Question No: 31 – (Topic 1)

Which is NOT associated with the web tier in a J2EE web-based application?

  1. JavaMail

  2. HTML

  3. message-driven beans

  4. JNDI

  5. JavaBeans

Answer: C

Question No: 32 – (Topic 1)

Which two are valid? (Choose two.)

  1. class EnumTest {

    public static void main(String args[]) { enum Num { ONE, TWO, THREE, FOUR }

    System.out.println(Num.ONE);

    }

  2. class EnumTest {

    enum Days { Sat, Sun, Mon, Tue, Wed, Thu, Fri } public static void main(String args[]) { System.out.println(Days.Sat);

    }

  3. class EnumTest {

    enum Colors { Red = 1, Green = 2, Blue = 4, Yellow = 8 } public static void main(String args[]) { System.out.println(Colors.Red);

    }

  4. enum Suit { CLUBS, DIAMONDS, HEARTS, SPADES } class EnumTest {

public static void main(String args[]) { System.out.println(Suit.CLUBS);

}

Answer: B,D

Question No: 33 – (Topic 1)

Which two are represented in a UML class diagram? (Choose two.)

  1. relationships between classes and interfaces

  2. ways to test an application

  3. the interactions between objects in sequential order

  4. operations of classes and interfaces

Answer: A,D

Question No: 34 – (Topic 1)

Given:

4. int n1 = 22, n2 = 67, n3 = 0, n4 = 47, n5 = 17, n6 = 50;

  1. boolean b = true;

    Which three evaluate to true? (Choose three.)

    A. !(n1 lt; n3) amp;amp; (n5 != n4) B. (n3 lt; n5) || (n2 lt;= n1) C. (n2 gt; n6) || b

    D. (!b) amp;amp; (n1 lt;= n4)

    E. (n2 lt; n6) amp;amp; (n4 gt;= n1)

    Answer: A,B,C

    Question No: 35 – (Topic 1)

    Which option will correctly initialize the property com.example.property to someValue when invoking java?

    1. com.example.property=someValue

    2. -Pproperty:someValue

    3. -P com.example.property someValue

    4. -Pcom.example.property:someValue

    5. -Dcom.example.property=someValue

Answer: E

Question No: 36 – (Topic 1)

Which is an advantage of applets over HTML/JavaScript clients?

  1. Applets are more widely supported by browsers.

  2. Applets are downloaded more quickly to the client.

  3. Applets can use a wider variety of UI components.

  4. In their default state, applets have access to the client#39;s computer.

Answer: C

Question No: 37 – (Topic 1)

Which two keywords directly support looping? (Choose two.)

  1. foreach

  2. switch

  3. while

  4. if

  5. for

Answer: C,E

Question No: 38 – (Topic 1)

Why should package names in Java be unique?

  1. to programatically declare specific ownership of classes in the package

  2. to allow classes in the package to be accessed by classes outside of that package

  3. to provide the Internet location from which the package can be downloaded

  4. to avoid class name conflicts if two development groups use the same package and class names

Answer: D

Question No: 39 – (Topic 1)

Which two are associated with the business tier in a J2EE web-based application? (Choose two.)

  1. stateless session beans

  2. servlets

  3. JSP

  4. HTML

  5. entity beans

Answer: A,E

Question No: 40 – (Topic 1)

Which two are true about HTML? (Choose two.)

  1. It is used by the browser to display the client user interface.

  2. It contains APIs that are used to access data in an RDBMS.

  3. It is an object-oriented programming language.

  4. It can be generated dynamically by servlets.

Answer: A,D

100% Ensurepass Free Download!
Download Free Demo:1z0-850 Demo PDF
100% Ensurepass Free Guaranteed!
Download 2017 EnsurePass 1z0-850 Dumps

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 EnsurePass IT Certification PDF and VCE

Add a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.