1Z0-850 Exam Details

  • Exam Code
    :1Z0-850
  • Exam Name
    :Java SE 5 and 6, Certified Associate
  • Certification
    :Oracle Certifications
  • Vendor
    :Oracle
  • Total Questions
    :242 Q&As
  • Last Updated
    :Dec 07, 2021

Oracle 1Z0-850 Online Questions & Answers

  • Question 151:

    Given:

    5.

    // insert code here

    6.

    public void eat();

    7.

    }

    8.

    9.

    // insert code here

    10.

    public void eat() {

    11.

    System.out.println("eating dinner");

    12.

    }

    13.

    }

    Which, inserted at lines 5 and 9, allows the file to compile?

    A. 5. class Animal {9. public class Tiger implements Animal {
    B. 5. interface Animal {9. public class Tiger implements Animal {
    C. 5. class Animal {9. public class Tiger subclasses Animal {
    D. 5. interface Animal {9. public class Tiger extends Animal {
    E. 5. class Animal {9. public class Tiger extends Animal {
    F. 5. interface Animal {9. public class Tiger subclasses Animal {

  • Question 152:

    Which two are valid representations of operations in UML? (Choose two.)

    A. public void op(int param)
    B. + int op(int param)
    C. + op(param : int) : int
    D. - op(p : P) : P
    E. * op(param : int) : int

  • Question 153:

    Which is a valid definition of an interface called Transportable given another valid interface, Movable?

    A. class Movable implements Transportable { /*...*/ }
    B. interface Transportable extends Movable { /*...*/ }
    C. class Movable extends Transportable { /*...*/ }
    D. interface Transportable implements Movable { /*...*/ }

  • Question 154:

    Click the Exhibit button. Which code correctly implements the association between A and B?

    A. class A {private B[] b;}class B {private A a;}
    B. class A {private B[] b;}class B { }
    C. class A { }class B {private A[] a;}
    D. class A { }class B {private A a;}
    E. class A {private B b;}class B {private A[] a;}
    F. class A {private B b;}class B { }

  • Question 155:

    What is the role of a JSP author?

    A. to coordinate the interaction between all the pages in a complex dynamic web-based application
    B. to write Java code to implement business logic
    C. to put static data and dynamic content together to create dynamic web pages
    D. to write Java code that interacts with server-side objects

  • Question 156:

    You have developed a MIDlet that runs on a Java-enabled Personal Digital Assistant (PDA) device. Now, your employer has asked you to port the MIDlet to run on other Java platforms. Which is true?

    A. The MIDlet is NOT guaranteed to run on a Java technology-enabled phone.
    B. The MIDlet can run within a standard web browser.
    C. The MIDlet is 100% portable across all J2ME devices.
    D. The MIDlet is guaranteed to run correctly under J2SE.

  • Question 157:

    Given:

    14.

    class Dog {

    15.

    String name;

    16.

    public static void main(String [] args) {

    17.

    Dog d1 = new Dog();

    18.

    Dog d2 = new Dog();

    19.

    d1.name = "Aiko";

    20.

    d2.name = "Aiko";

    21.

    if (d1 == d2) System.out.print("== ");

    22.

    if (d1.equals(d2)) System.out.println("dot =");

    23.

    }

    24.

    }

    What is the result?

    A. == dot =
    B. Compilation fails.
    C. dot =
    D. No output is produced.
    E. ==
    F. The result is unpredictable.

  • Question 158:

    Given:

    1.

    class Variables {

    2.

    int i;

    3.

    String s;

    4.

    Object o;

    5.

    String g = null;

    6.

    Integer y;

    7.

    char c;

    8.

    }

    Which four are object references? (Choose four.)

    A. c
    B. i
    C. s
    D. g
    E. y
    F. o

  • Question 159:

    Which protocol provides an XML-based, platform-independent means of exchanging structured information?

    A. UDDI
    B. WSDL
    C. JSP
    D. JNDI
    E. SOAP

  • Question 160:

    Which is true about MIDlets?

    A. MIDlet devices are not required to allow applications to be uninstalled.
    B. The only API used to create MIDlets is the MIDP API.
    C. Devices that support MIDlets must allow the MIDlets to access the device's low-level functions.
    D. Devices that run MIDlets must provide software that manages wireless downloading of applications.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-850 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.