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 (17)
CIW (15)
Compaq (0)
CompTIA (51)
CWNA (2)
EMC (2)
Exin (4)
GEJOS (4)
HDI (1)
HP (4)
IBM (13)
Juniper (1)
Linux Prof Institute (LPI) (2)
Lotus (11)
Microsoft (2461)
Network Appliance (2)
Novell (16)
Oracle (413)
PLSQL (1)
PMI (4)
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
#1. Given: AnInterface is an interface.
AnAdapter0 is a non-abstract, non-final class with a zero argument constructor.
An Adapterl is a non-abstract, non-final class without a zero argument constructor, but with a constructor that takes one int argument.
Which two construct an anonymous inner class? (Choose two.)

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

#2.
  1. 1. class A {
  2. 3. public String to String() {
  3. 4. return4”;
  4. 5. }
  5. 6. }
  6. 7. class B extends A {
  7. 8. public String toString() {
  8. 9. return super.toString() + “3”;
  9. 10. }
  10. 11. }
  11. 12. public class Test {
  12. 13. public static void main (String[] args) {
  13. 14. System.out.printIn(new B());
  14. 15. }
  15. 16. }
What is the result?

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

#3. Given:
  1. 1. public class Method Over {
  2. 2. public void set Var (int a, int b, float c) {
  3. 3. }
  4. 4. }
Which two overload the set Var method? (Choose two.)

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

#4.
  1. 1. class A {
  2. 2. public byte file Number () {
  3. 3. return l;
  4. 4. }
  5. 5. }
  6. 6.
  7. 7. Class B extends A {
  8. 8. public short getNumber() {
  9. 9. return 2;
  10. 10. }
  11. 11.
  12. 12. public short getNumber() {
  13. 13. B b = new B();
  14. 14. System.out.printIn(b.getNumber());
  15. 15. }
  16. 16. }
What is the result?

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

#5. Given:
  1. 1. public class Foo {
  2. 2. public static void main(String[] args) {
  3. 3. StringBuffer a = new StringBuffer(“A”);
  4. 4. StrinbBuffer b = new StringBuffer(“B”);
  5. 5. operate (a, b);
  6. 6. System.out.printIn(a + “,” + b):
  7. 7. }
  8. 8. static void operate (StringBuffer x, StringBuffer y) {
  9. 9. y.append(x);
  10. 10. y = x;
  11. 11. }
  12. 12. }
What is the result?

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

#6.
  1. 1. public class X {
  2. 2. private static int a:
  3. 3.
  4. 4. public static void main (String [] args) {
  5. 5. modify (a) :
  6. 6. System.out.printIn(a) {
  7. 7. }
  8. 8.
  9. 9. public static void modify (int a) {
  10. 10. a++;
  11. 11. }
  12. 12. }
What is the result?

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

#7.
  1. 1. public class Test {
  2. 2. private static int j = 0;
  3. 3.
  4. 4. public static Boolean method B (int k) {
  5. 5. j + = k;
  6. 6. return true:
  7. 7. }
  8. 8.
  9. 9. public static void method A (int i) {
  10. 10. Boolean b;
  11. 11. b = I < 10 | method b (4):
  12. 12. b = I < 10 || methodb(8):
  13. 13. }
  14. 14.
  15. 15. public static void main (String args []) {
  16. 16. method A (0);
  17. 17. System.out.printIn(i);
  18. 18. }
  19. 19. }
What is the result?

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

#8. Which two are equivalent? (Choose two.)

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

#9. Given:
  1. 1. public class X {
  2. 2. public static void main (String [] args) {
  3. 3. byte b = 1277;
  4. 4. byte c = 126;
  5. 5. byte d = b + C;
  6. 6. }
  7. 7. }
Which statement is true?

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

#10. Given:
  1. 8. int index = 1;
  2. 9. int[]foo = new int [3];
  3. 10. int bar = foo [index];
  4. 11. int baz = bar + index;
What is the result?

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.255 Server date 14:55 02-12-2008 Developed by Zip © 2006 Up ^
Forum
Start online exam simulation
Master braindump
User braindumps