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

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

    A. JavaScript code is always processed on the server, NOT on the client.
    B. JavaScript is part of the J2SE.
    C. JavaScript provides more client-side functionality than HTML alone.
    D. JavaScript is guaranteed to be portable across all browsers on any platform.
    E. JavaScript and HTML are NOT compiled.

  • Question 82:

    Given:

    1.

    public abstract class Wow {

    2.

    private int wow;

    3.

    public Wow(int wow) {

    4.

    this.wow = wow;

    5.

    }

    6.

    public void wow() { }

    7.

    private void wowza() { }

    8.

    }

    Which is true about the class Wow?

    A. It does NOT compile because an abstract class must have at least one abstract method.
    B. It does NOT compile because an abstract class CANNOT have instance variables.
    C. It compiles without error.
    D. It does NOT compile because an abstract class CANNOT have private methods.
    E. It does NOT compile because an abstract class must have a constructor with no arguments.

  • Question 83:

    A Java programmer wants to develop a stand-alone, desktop, word processing application. Which Java edition (or editions) are appropriate to develop this application?

    A. J2SE and J2ME
    B. only J2EE
    C. J2EE and J2ME
    D. only J2SE
    E. only J2ME
    F. J2SE and J2EE

  • Question 84:

    Which is true?

    A. The JDBC API is included in J2SE.
    B. JDBC is used to connect to MOM (Message-Oriented Middleware) products.
    C. All JDBC drivers are pure Java.
    D. The JDBC API is an extension of the ODBC API.

  • Question 85:

    Which two are true? (Choose two.)

    A. A single import statement can be used to simplify access to several packages in the Java API.
    B. A single import statement can be used to simplify access to several classes in the Java API.
    C. An import statement is associated with only one class in a source file.
    D. A source file can have from zero to many import statements.
    E. If a source file has one import statement, it must be preceded by a package statement.

  • Question 86:

    Which is true?

    A. All threads created by a given Java program share the same invocation stack.
    B. A J2SE program can create no more than 10 concurrent threads.
    C. Threading allows GUI applications to perform lengthy calculations and respond to user events at the same time.
    D. The Java threading model provides equal processor time to all threads.

  • Question 87:

    Given:

    1.

    class Test2 {

    2.

    static String setMessage(String str) {

    3.

    return str + "How are you doing?";

    4.

    }

    5.

    6.

    public static void main(String[] args) {

    7.

    String str = "Hello! ";

    8.

    str = setMessage(str);

    9.

    System.out.println("str : " + str);

    10.

    }

    11.

    }

    What is the result?

    A. Compilation fails because of an error at line 7.
    B. str : Hello!
    C. str : How are you doing?
    D. Compilation fails because of an error at line 2.
    E. Compilation fails because of an error at line 3.
    F. str : Hello! How are you doing?
    G. Compilation fails because of an error at line 8.

  • Question 88:

    Which three can be included in an interface declaration? (Choose three.)

    A. protected void showMessage();
    B. void showMessage();
    C. abstract void showMessage();
    D. private void showMessage();
    E. public void showMessage() {System.out.println("Hello.");}
    F. public void showMessage();
    G. static void showMessage();

  • Question 89:

    What keyword is used to create an enumeration?

    A. ENUM
    B. const
    C. enumeration
    D. There is no keyword for creating enumerations. The Enum class must be used instead.
    E. enum

  • Question 90:

    Given:

    1.

    class Book {

    2.

    public String title;

    3.

    4.

    public void setTitle(String title) {

    5.

    if (checkTitle(title)) this.title = title;

    6.

    }

    7.

    public String getTitle() {

    8.

    return title;

    9.

    }

    10.

    private boolean checkTitle(String newTitle) {

    11.

    // code that verifies proposed title change

    12.

    }

    13.

    }

    Which two are true? (Choose two.)

    A. The title attribute is protected from direct modification by outside code.
    B. The Book class demonstrates encapsulation.
    C. The Book class does NOT provide information hiding.
    D. The Book class adheres to the JavaBeans naming conventions.
    E. The checkTitle method can be accessed from outside the Book class.

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.