Free 1Z0-850 Braindumps


  • Exam Number: 1Z0-850
  • Provider: Oracle
  • Questions: 242
  • Updated On: 17-Nov-2018

QUESTION: 1
Which two are true? (Choose two.)

A. J2EE runs on consumer and embedded devices.
B. J2EE includes the MIDP API.
C. J2EE includes servlet APIs and EJB APIs.
D. J2EE application developers need J2SE.
E. J2EE applications depend on web servers.

Answer(s): C, D
QUESTION: 2
Which two are associated with the web tier in a J2EE web-based application? (Choose two.)

A. servlets
B. JAX-RPC
C. JMS
D. entity beans
E. JSP

Answer(s): A, E
QUESTION: 3
Given:
1. class Test {
2. public static void main(String args[]) {
3. int num1 = 10, num2 = 20, result;
4. result = calc(num1, num2);
5. System.out.println(result);
6. }
7.
8. // insert code here
9. }

Which, inserted at line 8, produces the output 30?

A. static int calc(int n1, int n2) { return; }
B. public int calc(int n1, int n2) { return n1 + n2; }
C. public int calc(int n1, int n2) { return; }
D. static int calc(int n1, int n2) { return n1 + n2; }
E. static void calc(n1, n2) { return (n1 + n2); }
F. static int calc(int n1, n2) { return n1, n2; };

Answer(s): D
QUESTION: 4
Given:

Get The Premium Version

Allbraindumps.com
 Test Questions PDF from Myitguides.com

 Test Questions PDF from Myitguides.com