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 121:

    Which environment has the highest probability of properly supporting an applet?

    A. mobile environments using telephone handsets
    B. Internet environment where client components are not standardized
    C. J2EE server environment
    D. intranet environment where client components are standardized

  • Question 122:

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

    A. generate dynamic content
    B. implement business logic
    C. process user input
    D. integrate with database systems
    E. store state persistently

  • Question 123:

    You need to create a class Foo that will record the number of times the go() method is invoked on a particular instance of the class. Which solution correctly implements this goal?

    A. Declare a local variable invokeCount inside the go() method, and increment the variable within the go() method.
    B. Declare an instance variable invokeCount for the class Foo, and increment the variable within the go() method.
    C. Declare a static variable invokeCount for the class Foo, and increment the variable within the go() method.
    D. Declare a method parameter invokeCount as the argument to the go() method, and increment the variable within the go() method.

  • Question 124:

    Which is an appropriate description of session beans?

    A. They are used to share data among clients.
    B. They are used to implement business processes.
    C. They are used to store persistent data.
    D. They are used to represent data in an RDBMS.

  • Question 125:

    Which is true regarding multiplicity?

    A. It is used to indicate the number of instances of a class that may be associated with an instance of some other class.
    B. It is used to indicate which class some other class extends.
    C. It is used to show the interfaces implemented by a class.
    D. It is used to indicate of which class an object is an instance.

  • Question 126:

    Which two are true? (Choose two.)

    A. Multiplicity indicators are optional, but if they are included they must be shown at both ends of an association.
    B. 2..4 is a valid multiplicity indicator.
    C. The multiplicity indicators + and 1..* are equivalent.
    D. The multiplicity indicators * and 1..* are equivalent.
    E. Multiplicity indicators must always be shown at both ends of an association.
    F. An optional association is shown using the multiplicity indicator 0..1.

  • Question 127:

    What type of relationship is needed to represent the relationship between students and the courses they are enrolled in at a university?

    A. a one-to-one composition
    B. a one-to-one association
    C. a many-to-many composition
    D. a one-to-many composition
    E. a one-to-many association
    F. a many-to-many association

  • Question 128:

    Which three compile without error? (Choose three.)

    A. String str = 'Hello';
    B. String str = "Hello";
    C. String str = "Hello" - " World!";
    D. String str = new String("Hello");
    E. String str = "Hello" + " World!";
    F. String str = new String('Hello');

  • Question 129:

    Given:

    1.

    public class Foo {

    2.

    int size;

    3.

    public static void main(String[] args) {

    4.

    Foo f = new Foo();

    5.

    f.setSize(5);

    6.

    Foo g = f.go(f);

    7.

    System.out.print(f.size + " : " + g.size);

    8.

    }

    9.

    void setSize(int s) {

    10.

    size = s;

    11.

    }

    12.

    public Foo go(Foo g) {

    13.

    g.setSize(2);

    14.

    return g;

    15.

    }

    16.

    }

    What is the result?

    A. Compilation fails.
    B. 2 : 5
    C. 5 : 5
    D. 2 : 2

  • Question 130:

    Given:

    1.

    public class Bar {

    2.

    int size;

    3.

    public static void main(String[] args) {

    4.

    Bar b = new Bar();

    5.

    b.size = 27;

    6.

    int i = b.go(b.size);

    7.

    System.out.print(b.size + " : " + i);

    8.

    }

    9.

    public int go(int size) {

    10.

    size++;

    11.

    return size;

    12.

    }

    13.

    }

    What is the result?

    A. 27 : 28
    B. Compilation fails.
    C. 27 : 27
    D. 28 : 28
    E. 28 : 27

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.