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
 
Kasimir
 
 

 

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

 

Exam Questions, Answers, Braindumps (310-055)

Thanks to www.exams.ws and www.4exam.com But there’s no need to have it from both of them, only questions from only one are sufficient I think.


QUESTION 1
When comparing java. Io. BufferedWriter to java.io.FileWriter, which capability exist as a method in only one of the two?
A. closing the stream
B. flushing the stream
C. writing to the stream
D. marking a location in the stream
E. writing a line separator to the stream.
Answer: E
QUESTION 2
Which three statements concerning the use of the java . io. Realizable interface are true? (choose three)
A. Object from classes that use aggregation cannot be serialized.
B. An object serialized on one JVM can be successfully desterilized on a different JVM.
C. The values in fields with the Volatile modifier will NOT survive serialization and deserialization
D. The values in field with the transient modifier will NOT survive serialization and deserialization
E. It is legal to serialize an object of a type that has a supertype that does NOT implement java .io.Serialization
Answer: B,D,E
QUESTION 3
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 4
Which two code fragments will execute the method doStuff ( ) in a separate thread? (choose two)
A. new Thread ( ) {
public void run ( ) { doStuff ( ); }
};
B. new Thread ( ) {
public void run ( ) { doStuff ( ); }
};
C. new Thread ( ) {
public void run ( ) { doStuff ( ); }
}; run ( );
D. new Thread ( ) {
public void run ( ) { doStuff ( ); }
}; start ( );
E. new Thread (new Runable ( ) {
public void run ( ) { doStuff ( ); }
}; run ( ) ;
F. new Thread (new Runnable ( ) {
public void run ( ) { doStuff ( ); }
}), start ( );
Answer: D,F
QUESTION 5
Which three will compile and run without exception? (choose three)
A. private synchronized object o;
B. void go ( ) {
synchronized ( ) { /* ocde here */ }
}
C. public synchronized void go ( ) { /* code here */ }
D. private synchronized (this) void go ( ) { /* code here */ }
E. void go ( ) {
synchronized (object.class) { /* code here */ }
}
F. void go ( ) {.
synchronized (o) { /* code here */ }
}
Answer: C,E,F
QUESTION 6
Which two statements are true about has-a and is a relationships? (choose two)
A. Inheritance represents an is -a relationship
B. Inheritance represents a has-a relationship
C. Interfaces must be used when creating a has-a relationship
D. Instance variables can be used when creating a has-a relationship
Answer: A,D

310-055


 

 

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