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-035: Sun Certified Programmer for Java 2 Platform 1.4
#91. Given:
  1. 1. abstract class AbstractIt {
  2. 2. abstract float getFloat();
  3. 3. }
  4. 4. public class AbstractTest extends AbstractIt {
  5. 5. private float f1 = 1.0f;
  6. 6. private float getFloat() { return f1; }
  7. 7. }
What is the result?

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

#92. Which four can be thrown using the throw statement? (Choose four)

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

#93. What produces a compiler error?

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

#94. Given:
  1. 11. for( int i = min; i <max; i++) {
  2. 12. System.out.println(i);
  3. 13. }
If min and max are arbitrary integers, what gives the same result?

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

#95. Given:
  1. 11. double d = Math.random();
Which is true about d after line 11?

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

#96. Given:
  1. 1. public class Alpha{
  2. 2. private static Character() ids;
  3. 3.
  4. 4. public static void main( String[] args){
  5. 4. ids = new Character[args.length];
  6. 5. for (int i=0; i<ids.length; i++){
  7. 6. ids[i] = new Character( args[i] );
  8. 7. System.out.print( ids[i] );
  9. 8. }
  10. 9. }
  11. 10. }
What is correct?

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

#97. Given:
  1. 1. public class Alpha{
  2. 2. public static void main( string[] args ){
  3. 3. if ( args.length == 2 ) {
  4. 4. if ( args.[0].equalsIgnoreCase(“-b”) )
  5. 5. System.out.println( new Boolean( args[1] ));
  6. 6. }
  7. 7. }
  8. 8. }
And the code is invoked by using the command:
java Alpha –b TRUE
What is the result?

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

#98. Given:
  1. 11. int i = 0, j = 1;
  2. 12. if ((i++ == 1) && (j++ == 2)) {
  3. 13. i = 42;
  4. 14 }
  5. 15. System.out.println(“i = “ + i + “, j = “ + j);
What is the result?

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

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

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

#100. Given:
  1. 1. public class Test {
  2. 2. public static void add3 (Integer i) {
  3. 3. int val = i.intValue();
  4. 4. val += 3;
  5. 5. i = new Integer(val);
  6. 6. }
  7. 7.
  8. 8. public static void main(String args[]) {
  9. 9. Integer i = new Integer(0);
  10. 10. add3(i);
  11. 11. System.out.println(i.intValue());
  12. 12 }
  13. 13 }
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] ... [29 
Up ^ gen. 0.253 Server date 06:07 10-01-2009 Developed by Zip © 2006 Up ^
Forum
Start online exam simulation
Master braindump
User braindumps