Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SJCA question

 
Brian Kelly
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone know what J2SE version is the exam on?

This doesn't really say:
http://www.sun.com/training/catalog/courses/CX-310-019.xml

How does it compare to the SCJP exam?
 
Neel Joshi
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's J2SE 1.4 but includes enumeration and for-each loop from Java 5.0
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java 1.5 topics you will be tested on include autoboxing, the new enum data type, for:each loops, generics, and a few Java 1.5 features regarding the String class, namely the additional replace method found in Java 1.5:


String replace(char oldChar, char newChar)
Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar.

String replace(CharSequence target, CharSequence replacement)
Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence.


I think that if you only know Java 1.4, you'll miss a good half dozen questions on the exam, at least.

Pay the extra money, and download the Java 1.5 development toolkit. It's worth it!

Cheers!

-Cameron McKenzie
[ March 29, 2007: Message edited by: Cameron W. McKenzie ]
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Neel Joshi:
It's J2SE 1.4 but includes enumeration and for-each loop from Java 5.0

That kinda makes it 5.0, doesn't it?
 
Neel Joshi
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by marc weber:

That kinda makes it 5.0, doesn't it?


I know, it's kind of confusing. But, if you read objectives carefully, It just includes "Enum Type" and "For Each" loop...No Generics No Autoboxing etc....and in the real exam i got quetions regarding enumeration and for each loop only.
[ March 29, 2007: Message edited by: Neel Joshi ]
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree that is it confusing.

Take the following SCJA exam objective:

Develop code that uses primitives, enumeration types, and object references, and recognize literals of these types.

Describe, compare, and contrast these three fundamental types of statements: assignment, conditional, and iteration,


That's pretty vague, and potentially, very encompassing.

I left out autoboxing in the first printing of my SCJA Certification Study Guide, but got a barrage of people that said they saw the following on the exam:



So, that would work in 1.5, but not 1.4.2. Correspondingly, I have since added updated information on autoboxing in the cert guide.

Thank goodness for small print runs.

Cheers!

-Cameron McKenzie
[ March 29, 2007: Message edited by: Cameron W. McKenzie ]
 
Johan Jonasson
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Neel Joshi:


I know, it's kind of confusing. But, if you read objectives carefully, It just includes "Enum Type" and "For Each" loop...No Generics No Autoboxing etc....and in the real exam i got quetions regarding enumeration and for each loop only.

[ March 29, 2007: Message edited by: Neel Joshi ]


Can't remember if I saw any autoboxing, but when I took the exam I actually got one question concerning generics. The question itself was about for-loops I think but the answers included code snippets with both the genereics and for each features.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic