[Free] 2018(Jan) EnsurePass Testinsides Oracle 1z0-850 Dumps with VCE and PDF 61-70

By | January 25, 2018

Ensurepass.com : Ensure you pass the IT Exams
2018 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: 61 – (Topic 1)

Given:

interface Writable { } interface Erasable { }

Which three are valid? (Choose three.)

  1. public class Pencil implements Erasable,Writable { /*…*/ }

  2. public interface Pencil extends Writable { /*…*/ }

  3. public interface Pencil implements Writable { /*…*/ }

  4. public class Pencil implements Writable { /*…*/ }

  5. public class Pencil extends Writable { /*…*/ }

Answer: A,B,D

Question No: 62 – (Topic 1)

A Java programmer wants to develop a small application to run on mobile phones. Which Java edition (or editions) are required to develop the application?

  1. only J2ME

  2. J2SE and J2EE

  3. only J2EE

  4. J2SE and J2ME

  5. only J2SE

  6. J2EE and J2ME

Answer: D

Question No: 63 – (Topic 1)

Which Java technology provides a standard API for relational database access?

  1. JDC

  2. JMS

  3. JSP

  4. JNDI

  5. JDBC

Answer: E

Question No: 64 – (Topic 1)

Which is true?

  1. You must use JDBC to connect an RDBMS to a Java application.

  2. JDBC is designed to provide a bridge between servlets and EJB technology.

  3. Classes in the JDBC API include implementations of JDBC drivers.

  4. The JDBC API is located within the java.sql and javax.sql packages.

Answer: D

Question No: 65 – (Topic 1)

Which package contains classes to read from, and write to, files?

  1. java.net

  2. javax.swing

  3. javax.file

  4. java.util

  5. java.io

  6. java.lang

  7. java.stream

Answer: E

Question No: 66 – (Topic 1)

Which two are characteristics of applets? (Choose two.)

  1. Because it executes on the web server, the client does NOT incur the processing overhead.

  2. Applet security is provided by Java#39;s sandbox security model.

  3. Applets can be developed quickly using HTML/JavaScript tags.

  4. Because code is downloaded at the time of execution, applets are easy to distribute.

Answer: B,D

Question No: 67 – (Topic 1)

Which two are benefits of servlets? (Choose two.)

  1. They allow you to embed Java code in HTML files.

  2. They represent data in a persistent store.

  3. They can produce dynamic content in response to web client requests.

  4. Their lifecycles are managed by the container.

Answer: C,D

Question No: 68 – (Topic 1)

Which four are legal declarations? (Choose four.)

  1. String st = null;

  2. String st = quot;Helloquot;;

  3. String st == #39;Hello#39;;

  4. String st = #39;Hello#39;;

  5. String st == quot;Helloquot;;

  6. String[] st = new String[1];

  7. String st = new String(quot;Helloquot;);

    Answer: A,B,F,G

    Question No: 69 – (Topic 1)

    Given:

    1. class Test {

    2. public static void main(String args[]) {

    3. int i = 1;

4. while (i- gt; 1) {

  1. System.out.println(quot;i : quot; i); 6. }

    7. }

    8. }

    What is the result?

    1. i : 1

    2. i : -1

    3. i : 0

    4. No output is produced.

    5. Compilation fails.

Answer: D

Question No: 70 – (Topic 1)

What keyword is used to create an enumeration?

  1. ENUM

  2. const

  3. enumeration

  4. There is no keyword for creating enumerations. The Enum class must be used instead.

  5. enum

Answer: E

100% Ensurepass Free Download!
Download Free Demo:1z0-850 Demo PDF
100% Ensurepass Free Guaranteed!
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

Leave a Reply

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