REAL QUESTIONS SUBMIT MATERIAL ADVERTISE
Braindumps

Microsoft

Cisco

Citrix

CIW

CompTia

CWNA

Apple

Adobe

HP

Legato

Exin

Filemaker

Brocade

Ericsson

TIA

Veritas

ISEB

SCP

IISFA

ISM

OMG

Apc

Mile2

Foundry

Huawei

McData

Symantec

TeraData

RedHat

Solar Winds

Blue Coat

Riverbed

 

 
 
Click on name of dumper to view the dump
 
Joaquin
 
 

 

Braindumps of 310-056
Sun Certified Programmer for the
Java 2 Platform, Standard Edition 5.0

 

Exam Questions, Answers, Braindumps (310-056)
I have questions for you but I have only one suggestion for you to just go for www.examcheets.com study material.
Try my questions too. You will get the success.


QUESTION 1
Given the exhibit:
* D is valid , non-null Dateobject
* df is a valid, non-null DateFormat object set to the current local
What outputs the current ; local's country name and the appropriate version of d's date?
A. Local loc = Local.getLocal ( );
System.out printIn (loc.getDisplayCountry ( )
B. Local loc = Local.getDefault ( );
System.out printIn (loc.getDisplayCountry ( )
+ " " " +df. Format (d) );
C. Local loc = Local.getLocal ( );
System.out printIn (loc.getDisplayCountry ( )
+ " " +df. setDateFormat (d) ) ;
D. Local loc = Local.getDefault ( );
System.out printIn (loc.getDisplayCountry ( )
+ " " +df.seDateFormat (d) );
Answer: B

 

QUESTION 2
A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where the old one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command:
Java -classpath /test:/home/bob/downloads/*.jar games.Chess
Bob's CLASSPATH is set (at login time) to:
/usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar
What is a possible location for the Chess.class file?
A. /test/Chess.class
B. /home/bob/Chess.class
C. /test/games/Chess.class
D. /usr/lib/games/Chess.class
E. /home/bob/games/Chess.class
F. Inside jarfile /opt/java/lib/Games.jar (with a correct manifest)
G. Inside jarfile /home/bob/downloads/Games.jar (with a correct manifest)
Answer: C

 

QUESTION 3
A programmer has an algorithm that requires a java.util.List that provides an efficient implementation of add(0, object), but does NOT need to support quick random access. What supports these requirements?
A. java.util.Queue
B. java.util.ArrayList
C. java.util.LinearList
D. java.util.LinkedList
Answer: D

 

QUESTION 4
Which two statements are true about the hashCode method? (Choose two.)
A. The hashCode method for a given class can be used to test for object equality and object inequality for that class.
B. The hashCode method is used by the java.util.SortedSet collection class to order the elements within that set.
C. The hashCode method for a given class can be used to test for object inequality, but NOT object equality for that class.
D. The only important characteristic of the values returned by a hashCode method is that the distribution of valus must follow a Gaussian distribution.
E. The hashCode method is used by the java.util.HashSet collection class to group the elements within that set into hash buckets for swift retrieval.
Answer: C, E

 

QUESTION 5
Given:
foo
and bar are public references available to many other threads. foo refers to a
Thread and bar is an Object. The thread foo is currently executing bar.wait(). From another thread, what provides the most reliable way to ensure that foo will stop executing wait()?
A. foo.notify();
B. bar.notify();
C. foo.notifyAll();
D. Thread.notify();
E. bar.notifyAll();
F. Object.notify();
Answer: E

310-056

 

 

 

Braindumps Real exam questions and verified answers - 100% passing guarantee - cheap prices.

 

Braindumps and Exams - Instant download real exam questions - Passing guarantee.

Follow us on FaceBook
Braindumps on Facebook
 
 
 
 
 

CheckPoint

Linux

Novell

DB/2

Network Appliance

EC-Council

Nortel

McAfee

Juniper

ISACA

PMI

Sybase

EMC

HDI

SNIA

ISC

Sair

IBM

Lotus

Exam Express

3COM

BICSI

DeLL

Enterasys

Extreme Networks

Guidance Software

Computer Associates

Network General

SAS Institute

Alcatel Lucent

SeeBeyond

TruSecure

Polycom

Hyperion

Hitachi

Nokia

Fortinet

Vmware

Fujitsu

Tibco

Intel

PostgreSQLCE

BusinessObjects

RESSoftware

BlackBerry

AccessData

ICDL

Isilon

SAP

The Open Group

ACSM

Altiris

Avaya

Cognos

F5

Genesys

SDI

ACI

ASQ

Google

H3C

HIPAA

HRCI

SOA

IIBA

Zend