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

    Which two are true about the Swing API? (Choose two.)

    A. Swing classes are located in the java.awt package.
    B. Swing is considered more "lightweight" than AWT.
    C. Swing provides more GUI components than AWT.
    D. Swing can be used without AWT.

  • Question 172:

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

    A. HTML is displayed in a client-side environment.
    B. JavaScript must be deployed in a separate file from HTML.
    C. JavaScript runs only in a server-side environment.
    D. JavaScript has a function that can open a new browser window.

  • Question 173:

    Given:

    1.

    class Test {

    2.

    public static void main(String args[]) {

    3.

    String str = new String("Welcome");

    4.

    // insert code here

    5.

    }

    6.

    }

    Which, inserted at line 4, produces the output true?

    A. System.out.println(str.trim());
    B. System.out.println(str.startsWith("W"));
    C. System.out.println(str.indexOf("W"));
    D. System.out.println(str.startsWith('W'));
    E. System.out.println(str.indexOf(1));

  • Question 174:

    Which two are true? (Choose two.)

    A. An interface can implement another interface.
    B. A class can implement more than one interface.
    C. Many classes can implement the same interface.
    D. Every class must implement at least one interface.

  • Question 175:

    Given:

    interface Writable { } interface Erasable { }

    Which three are valid? (Choose three.)

    A. public class Pencil implements Erasable,Writable { /*...*/ }
    B. public interface Pencil extends Writable { /*...*/ }
    C. public interface Pencil implements Writable { /*...*/ }
    D. public class Pencil implements Writable { /*...*/ }
    E. public class Pencil extends Writable { /*...*/ }

  • Question 176:

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

    A. It is used by the browser to display the client user interface.
    B. It can be generated dynamically by servlets.
    C. It is an object-oriented programming language.
    D. It contains APIs that are used to access data in an RDBMS.

  • Question 177:

    Given:

    1.

    class Test {

    2.

    public static void main(String args[]) {

    3.

    String str = "Hello!";

    4.

    String str2 = "Bye!";

    5.

    str += str2;

    6.

    str -= str2;

    7.

    8.

    if ( str == str2 ) {

    9.

    System.out.println("str = str2");

    10.

    } else {

    11.

    System.out.println("str != str2");

    12.

    }

    13.

    }

    14.

    }

    What is the result?

    A. str != str2
    B. str = str2
    C. The code runs with no output.
    D. Compilation fails.

  • Question 178:

    Which two are true? (Choose two.)

    A. HTML can be used only for displaying images.
    B. XML is an extension of HTML.
    C. HTML is an acronym for HyperText Markup Language.
    D. HTML is the language used to publish web pages on the World Wide Web.

  • Question 179:

    Which type of GUI component is NOT included in Swing?

    A. Color Chooser
    B. File Chooser C. Tree Table
    D. Dialog Box

  • Question 180:

    Given:

    4.

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

    5.

    boolean b = true;

    Which three evaluate to true? (Choose three.)

    A. !(n1 < n3) andand (n5 != n4)
    B. (n3 < n5) || (n2
    C. (n2 > n6) || b
    D. (!b) andand (n1
    E. (n2 < n6) andand (n4 >= n1)

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.