Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us

 Home

 Search

Latest Brain Dumps

 BrainDump List

 Certifications Dumps

 Microsoft

 CompTIA

 Oracle

  Cisco
  CIW
  Novell
  Linux
  Sun
  Certs Notes
  How-Tos & Practices 
  Free Online Demos
  Free Online Quizzes
  Free Study Guides
  Free Online Sims
  Material Submission
  Test Vouchers
  Users Submissions
  Site Links
  Submit Site

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Online Training Demos and Learning Tutorials for Windows XP, 2000, 2003.

 

 

 

 





Braindumps for "310-055" Exam

Sun Certified Programmer for the Java 2 Platform, Standard Edition 5.0

 Question 181.
Given:
1. public class Test {
2. public static void main(String args[]) {
3. class Foo {
4. public int i = 3; }
5. Object o = (Object)new Foo();
6. Foo foo = (Foo)o;
7. System.out.println ("i = " + foo.i); } }
What is the result?

A. i = 3
B. Compilation fails.
C. A ClassCastException is thrown at line 6.
D. A ClassCastException is thrown at line 7.

Answer: A

Question 182.
Which two cause a compiler error? (Choose two)

A. float[] = new float(3);
B. float f2[] = new float[];
C. float[] f1 = new float[3];
D. float f3[] = new float[3];
E. float f5[] = { 1.0f, 2.0f, 2.0f };
F. float f4[] = new float[] { 1.0f. 2.0f. 3.0f};

Answer: A, B

Question 183.
Which statement is true?

A. Memory is reclaimed by calling Runtime.gc ().
B. Objects are not collected if they are accessible from live threads.
C. Objects that have finalize () methods are never garbage collected.
D. Objects that have finalize () methods always have their finalize () methods called before the 
     program ends.
E. An Out Of Memory error is only thrown if a single block of memory cannot be found that is large 
     enough for a particular requirement.

Answer: B

Question 184.
You want a class to have access to members of another class in the same package. Which is the most restrictive access that accomplishes this objective?

A. public
B. private
C. protected
D. transient
E. default access

Answer: E

Question 185.
Which statement is true about assertion in the Java programming language?

A. Assertion expressions should not contain side effects.
B. Assertion expression values can be any primitive type.
C. Assertion should be used for enforcing preconditions on public methods.
D. An Assertion Error thrown as a result of a failed assertion should always be handled by the 
    enclosing method.

Answer: A

Question 186.
Which three statements are true? (Choose three)

A. The default constructor initializes method variables.
B. The default constructor has the same access as its class.
C. The default constructor invoked the no-arg constructor of the super class.
D. If a class lacks a no-arg constructor, the compiler always creates a default constructor.
E. The compiler creates a default constructor only when there are no other constructors for the 
     class.

Answer: B, C, E

Question 187.
Which three statements are true? (Choose three)

A. Assertion checking is typically enabled when a program is deployed.
B. It is never appropriate to write code to handle failure of an assert statement.
C. Assertion checking is typically enabled during program development and testing.
D. Assertion checking can be selectively enabled or disable a per-package basis, but not on a 
     per-class basis.
E. Assertion checking can be selectively enabled or disabled on both a per-package basis and a 
    per-class basis.

Answer: B, C, E

Question 188.
You want to limit access to a method of a public class to members of the same class. Which access accomplishes this objective?

A. public
B. private
C. protected
D. transient
E. default access

Answer: B

Question 189.
Which fragment is an example of inappropriate use of assertions?

A. assert (! (map.contains(x))); map.add(x);
B. if (x > 0) { } else {assert (x==0);}
C. public void aMethod (int x) {assert (x > 0);}
D. assert (invariantCondition ());return retval;
E. switch (x) {case 1: break;case 2: creak; default: assert (x == 0);

Answer: C

Question 190.
Which four can be thrown using the throw statement? (Choose four)

A. Error
B. Event
C. Object
D. Throwable
E. Exception
F. RuntimeException

Answer: A, D, E, F

Question 191.
Which two are benefits of fully encapsulating a class? (Choose two)

A. Performance of class methods is improved.
B. Implementation details of the class are hidden.
C. Access modifiers can be omitted on class data members.
D. Code that uses the encapsulation class can access data members directly.
E. Internal operation of the class can be modified without impacting clients of that class.

Answer: B, E

Question 192.
What can cause a thread to become non-runnable?

A. Exiting from a synchronized block.
B. Calling the wait method on an object.
C. Calling the notify method on an object.
D. Calling the notifyAll method on an object.

Answer: B


Google
 
Web www.certsbraindumps.com


Braindumps: Dumps for HP0-240 Exam Brain Dump

Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us





Braindumps for "HP0-240" Exam

Supporting the Virtual Array(VA) Storage Family

 Question 1.
A customer has an entry-level VA cluster solution using MS Windows. A Fibre Channel fabric infrastructure will be installed at a later date. The solution must support two servers in a Windows cluster and provide path failover functionality. 

Which VA will best suit this customer environment with the least additional investment?

A. VA7100
B. VA7110
C. VA7400
D. VA7410

Answer: D

Question 2.
Which types of interface can be used with AutoPath VA for configuration and maintenance purposes? Select TWO.

A. GUI
B. Virtual Front Panel
C. CVUI
D. CLI
E. LVC

Answer: A, D

Question 3.
Business Copy licenses are based on the ______.

A. number of hosts in the SAN
B. amount of raw capacity on the VA
C. number of hosts in the SAN and the amount of raw capacity on the VA
D. number of switch ports in the SAN

Answer: B

Question 4.
A customer has a VA7110 with a 1024 MB cache and requests an upgrade to the maximum capacity. 

What must be ordered?

A. 1 x A6187B 1024 MB cache for VA processor
B. 2 x A6187B 1024 MB cache for VA processor
C. 2 x A6186A 512 MB cache for VA processor
D. 4 x A6186A 512 MB cache for VA processor

Answer: B

Question 5.
Which components are integrated into the Command View SDM management framework? Select TWO.

A. Secure Manager
B. AutoPath
C. Business Copy
D. Virtual Front Panel
E. Zoning

Answer: A, C

Question 6.
What is the total raw capacity that can be fitted into a 42U rack that has two fully populated VA7410s?

A. 10 TB
B. 20 TB
C. 30 TB
D. 40 TB

Answer: C

Question 7.
A customer wants to upgrade a VA7100 to be 2 Gb/s capable. 

Which accessories must be ordered? Select TWO.

A. 2 x A6218A 7410 VA processor
B. single mode Fibre Channel cables
C. 2 x A6183AE VA enclosure
D. 2 x A6187A 1024 MB cache (single DIMM)
E. longwave GBIC modules

Answer: A, D

Question 8.
With HP18 installed and AutoRAID enabled, which RAID level is primarily used for frequentlywritten
data?

A. RAID 1+0
B. RAID 5 DP
C. RAID 1+0 and RAID 5 DP
D. RAID 1+0 and VRAID

Answer: A

Question 9.
Which disk capacity is NOT supported on the VA7100 and VA7400?

A. 18 GB
B. 36 GB
C. 73 GB
D. 146 GB

Answer: D

Question 10.
Auto Include and AutoFormat are enabled. Rebuild is disabled. 

What happens when you move a disk from Redundancy Group 1 to Redundancy Group 2?

A. Nothing.
B. The disk remains in Redundancy Group 1 and data can still be accessed.
C. You must first enable this by using the VFP command -g1 -g2 -on.
D. You must first enable this by using the VFP command cfg -g1 -g2 -on.

Answer: B



Google
 
Web www.certsbraindumps.com


Study Guides and Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA





              Privacy Policy                   Disclaimer                    Feedback                    Term & Conditions

www.helpline4IT.com

ITCertKeys.com

Copyright © 2004 CertsBraindumps.com Inc. All rights reserved.