English Русский Contacts Site map Add to favorites
Registration
Login
Master braindump list
New braindumps
Submit a dump
Get latest dump
braindumps.com.ua
flame
3COM (7)
Adobe (1)
BEA (1)
Checkpoint (22)
Cisco (20)
Citrix (21)
CIW (15)
Compaq (0)
CompTIA (51)
CWNA (2)
EMC (2)
Exin (4)
GEJOS (4)
HDI (1)
HP (4)
IBM (13)
Juniper (5)
Linux Prof Institute (LPI) (2)
Lotus (11)
Microsoft (2462)
Network Appliance (2)
Novell (16)
Oracle (423)
PLSQL (1)
PMI (5)
SAS (1)
Sun (87)
Teradata (4)
Login:
Password:
RSS feed

Contacts
Certification links
Links
Authorized user can see question and answers.
Please log in or sign up.

Exam question list:
Show all comments
Sun 310-081: Sun Certified Web Component Developer for the Java 2 Platform, Enterprise Edition 1.4
#31.
  1. 1. public class X {
  2. 2. public static void main (String [] args) {
  3. 3. int [] a = new int [l]:
  4. 4. modify (a):
  5. 5. System.out.printIn(a[0]):
  6. 6. }
  7. 7.
  8. 8. public static void modify (int [] a) {
  9. 9. a [0] ++;
  10. 10. }
  11. 11. }
What is the result?

Show comments for this question (0)
Add comments
Link to this question

#32.
  1. 1. public class X {
  2. 2. public static void main (String [] args) {
  3. 3. String sl = new String (true);
  4. 4. Boolean bl – new Boolean (true);
  5. 5. if (sl.cquals(bl)) {
  6. 6. System.out.printIn (“Equal”):
  7. 7. }
  8. 8. }
  9. 9. }
What is the result?

Show comments for this question (0)
Add comments
Link to this question

#33. Given:
  1. 8. String foo = “blue”;
  2. 9. boolcan [] bar = new Boolean [1];
  3. 10. if (bar [0] {
  4. 11. foo = “green”;
  5. 12. }
What is the result?

Show comments for this question (0)
Add comments
Link to this question

#34. Which two are reserved words in Java? (Choose two.)

Show comments for this question (0)
Add comments
Link to this question

#35. Given
  1. 1. public class Foo{
  2. 2. public static void main (String [] args) {
  3. 3. Strings;
  4. 4. System.outprintIn (“S=”+s):
  5. 5. }
  6. 6. }
What is the result?

Show comments for this question (0)
Add comments
Link to this question

#36. Which will declare a method that forces a subclass to implement it?

Show comments for this question (0)
Add comments
Link to this question

#37. Given:
  1. 1. public class Foo {
  2. 2. public void main ( String [] args ) {
  3. 3. System.out.printIn (“Hello world.”);
  4. 4. }
  5. 5. }
What is the result?

Show comments for this question (0)
Add comments
Link to this question

#38. Given
  1. 1. public class Exception Test {
  2. 2. class Test Exception extends Exception {}
  3. 3. public void runs Test () throws Test Exception {}
  4. 4. public void test () /* Point X*/{
  5. 5. run Test ();
  6. 6. }
  7. 7. }
At Point X on line 4, which code can be added to make the code compile?

Show comments for this question (0)
Add comments
Link to this question

#39. Given
  1. 1. public class for Bar {
  2. 2. public static void main (String [] args){
  3. 3. int i = 0 and j = 5
  4. 4. tp: for (;;) {
  5. 5. i ++;
  6. 6. for (;;)
  7. 7. if (i > -- j) break tp:
  8. 8. }
  9. 9. System.out.printIn (“i= “ + “ j = “ + j):
  10. 10. {
  11. 11. {
What is the result?

Show comments for this question (0)
Add comments
Link to this question

#40. Given the Tag:
  1. <my Tag.get Advice type =”fashion”/>

Assuming the tag referenced by my Tags: get Advice uses the Classic event model, which is true?

Show comments for this question (0)
Add comments
Link to this question


 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] ... [24 
Up ^ gen. 0.282 Server date 05:24 10-01-2009 Developed by Zip © 2006 Up ^
Forum
Start online exam simulation
Master braindump
User braindumps