• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tiger objectives - take 2

 
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Evelyn asked me to post these "new and improved" objectives. While I didn't compare the two sets, I believe that this version mentions Queue<E>.


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

Section 1: Declarations, Initialization and Scoping
1.1 Develop code that declares classes (including abstract and all forms of nested classes), interfaces, and enums, and includes the appropriate use of package and import statements (including static imports).
1.2 Develop code that declares an interface. Develop code that implements or extends one or more interfaces. Develop code that declares an abstract class. Develop code that extends an abstract class.
1.3 Develop code that declares, initializes, and uses primitives, arrays, enums, and objects as static, instance, and local variables. Also, use legal identifiers for variable names.
1.4 Develop code that declares both static and non-static methods, and - if appropriate - use method names that adhere to the JavaBeans naming standards. Also develop code that declares and uses a variable-length argument list.
1.5 Given a code example, determine if a method is correctly overriding or overloading another method, and identify legal return values (including covariant returns), for the method.
1.6 Given a set of classes and superclasses, develop constructors for one or more of the classes. Given a class declaration, determine if a default constructor will be created, and if so, determine the behavior of that constructor. Given a nested or non-nested class listing, write code to instantiate the class.
Section 2: Flow Control
2.1 Develop code that implements an if or switch statement; and identify legal argument types for these statements.
2.2 Develop code that implements all forms of loops and iterators, including the use of for, the enhanced for loop (for-each), do, while, labels, break, and continue; and explain the values taken by loop counter variables during and after loop execution.
2.3 Develop code that makes use of assertions, and distinguish appropriate from inappropriate uses of assertions.
2.4 Develop code that makes use of exceptions and exception handling clauses (try, catch, finally), and declares methods and overriding methods that throw exceptions.
2.5 Recognize the effect of an exception arising at a specified point in a code fragment. Note that the exception may be a runtime exception, a checked exception, or an error.
2.6 Recognize situations that will result in any of the following being thrown: ArrayIndexOutOfBoundsException,ClassCastException, IllegalArgumentException, IllegalStateException, NullPointerException, NumberFormatException, AssertionError, ExceptionInInitializerError, StackOverflowError or NoClassDefFoundError. Understand which of these are thrown by the virtual machine and recognize situations in which others should be thrown programatically.



Section 3: API Contents
3.1 Develop code that uses the primitive wrapper classes (such as Boolean, Character, Double, Integer, etc.), and/or autoboxing & unboxing. Discuss the differences between the String, StringBuilder, and StringBuffer classes.
3.2 Given a scenario involving navigating file systems, reading from files, or writing to files, develop the correct solution using the following classes (sometimes in combination), from java.io: BufferedReader,BufferedWriter, File, FileReader, FileWriter and PrintWriter.
3.3 Develop code that serializes and/or de-serializes objects using the following APIs from java.io: DataInputStream, DataOutputStream, FileInputStream, FileOutputStream, ObjectInputStream, ObjectOutputStream and Serializable.
3.4 Use standard J2SE APIs in the java.text package to correctly format or parse dates, numbers, and currency values for a specific locale; and, given a scenario, determine the appropriate methods to use if you want to use the default locale or a specific locale. Describe the purpose and use of the java.util.Locale class.
3.5 Write code that uses standard J2SE APIs in the java.util and java.util.regex packages to format or parse strings or streams. For strings, write code that uses the Pattern and Matcher classes and the String.split method. Recognize and use regular expression patterns for matching (limited to: . (dot), * (star), + (plus), ?, \d, \s, \w, [], ()). The use of *, +, and ? will be limited to greedy quantifiers, and the parenthesis operator will only be used as a grouping mechanism, not for capturing content during matching. For streams, write code using the Formatter and Scanner classes and the PrintWriter.format/printf methods. Recognize and use formatting parameters (limited to: %b, %c, %d, %f, %s) in format strings.
Section 4: Concurrency
4.1 Write code to define, instantiate, and start new threads using both java.lang.Thread and java.lang.Runnable.
4.2 Recognize the states in which a thread can exist, and identify ways in which a thread can transition from one state to another.
4.3 Given a scenario, write code that makes appropriate use of object locking to protect static or instance variables from concurrent access problems.
4.4 Given a scenario, write code that makes appropriate use of wait, notify, or notifyAll.
Section 5: OO Concepts
5.1 Develop code that implements tight encapsulation, loose coupling, and high cohesion in classes, and describe the benefits.
5.2 Given a scenario, develop code that demonstrates the use of polymorphism. Further, determine when casting will be necessary and recognize compiler vs. runtime errors related to object reference casting.
5.3 Explain the effect of modifiers on inheritance with respect to constructors, instance or static variables, and instance or static methods.
5.4 Given a scenario, develop code that declares and/or invokes overridden or overloaded methods and code that declares and/or invokes superclass, overridden, or overloaded constructors.
5.5 Develop code that implements "is-a" and/or "has-a" relationships.

Section 6: Collections / Generics
6.1 Given a design scenario, determine which collection classes and/or interfaces should be used to properly implement that design, including the use of the Comparable interface.
6.2 Distinguish between correct and incorrect overrides of corresponding hashCode and equals methods, and explain the difference between == and the equals method.
6.3 Write code that uses the generic versions of the Collections API, in particular, the Set<E>, List<E>, Queue<E> and Map <K,V> interfaces and implementation classes. Recognize the limitations of the non-generic Collections API and how to refactor code to use the generic versions.
6.4 Develop code that makes proper use of type parameters in class/interface declarations, instance variables, method arguments, and return types; and write generic methods or methods that make use of wildcard types and understand the similarities and differences between these two approaches.
6.5 Use capabilities in the java.util package to write code to manipulate a list by sorting, performing a binary search, or converting the list to an array. Use capabilities in the java.util package to write code to manipulate an array by sorting, performing a binary search, or converting the array to a list. Use the java.util.Comparator and java.lang.Comparable interfaces to affect the sorting of lists and arrays. Furthermore, recognize the effect of the "natural ordering" of primitive wrapper classes and java.lang.String on sorting.

Section 7: Fundamentals
7.1 Given a code example and a scenario, write code that uses the appropriate access modifiers, package declarations, and import statements to interact with (through access or inheritance) the code in the example.
7.2 Given an example of a class and a command-line, determine the expected runtime behavior.
7.3 Determine the effect upon object references and primitive values when they are passed into methods that perform assignments or other modifying operations on the parameters.
7.4 Given a code example, recognize the point at which an object becomes eligible for garbage collection, and determine what is and is not guaranteed by the garbage collection system. Recognize the behaviors of System.gc and finalization.
7.5 Given the fully-qualified name of a class that is deployed inside and/or outside a JAR file, construct the appropriate directory structure for that class. Given a code example and a classpath, determine whether the classpath will allow the code to compile successfully.
Write code that correctly applies the appropriate operators including assignment operators (limited to: =, +=, -=), arithmetic operators (limited to: +, -, *, /, %, ++, --), relational operators (limited to: <, <=, >, >=, ==, !=), the instanceof operator, logical operators (limited to: &, |, ^, !, &&, ||), and the conditional operator ( ? : ), to produce a desired result. Write code that determines the equality of two objects or two primitives.
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Bert for the update.
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Bert.

Could you also post some sample questions to us too?

Nick
 
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nick, according to Bert's reply in this thread, some mocks will be posted after new year.
 
Ranch Hand
Posts: 1880
Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
but these objectives are not available in sun's website.
when they will update?

Thanx BertBates for your information.
 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had a look at the 1.4 objectives

Exam Objectives1.4

Section 1: Declarations and Access Control

# Write code that declares, constructs and initializes arrays of any base type using any of the permitted forms both for declaration and for initialization.
# Declare classes, nested classes, methods, instance variables, static variables and automatic (method local) variables making appropriate use of all permitted modifiers (such as public, final, static, abstract, etc.). State the significance of each of these modifiers both singly and in combination and state the effect of package relationships on declared items qualified by these modifiers.
# For a given class, determine if a default constructor will be created and if so state the prototype of that constructor.
# Identify legal return types for any method given the declarations of all related methods in this or parent classes.

Section 2: Flow control, Assertions, and Exception Handling

# Write code using if and switch statements and identify legal argument types for these statements.
# Write code using all forms of loops including labeled and unlabeled, use of break and continue, and state the values taken by loop counter variables during and after loop execution.
# Write code that makes proper use of exceptions and exception handling clauses (try, catch, finally) and declares methods and overriding methods that throw exceptions.
# Recognize the effect of an exception arising at a specified point in a code fragment. Note: The exception may be a runtime exception, a checked exception, or an error (the code may include try, catch, or finally clauses in any legitimate combination).
# Write code that makes proper use of assertions, and distinguish appropriate from inappropriate uses of assertions.
# Identify correct statements about the assertion mechanism.

Section 3: Garbage Collection

# State the behavior that is guaranteed by the garbage collection system.
# Write code that explicitly makes objects eligible for garbage collection.
# Recognize the point in a piece of source code at which an object becomes eligible for garbage collection.

Section 4: Language Fundamentals

# Identify correctly constructed package declarations, import statements, class declarations (of all forms including inner classes) interface declarations, method declarations (including the main method that is used to start execution of a class), variable declarations, and identifiers.
# Identify classes that correctly implement an interface where that interface is either java.lang.Runnable or a fully specified interface in the question.
# State the correspondence between index values in the argument array passed to a main method and command line arguments.
# Identify all Java programming language keywords. Note: There will not be any questions regarding esoteric distinctions between keywords and manifest constants.
# State the effect of using a variable or array element of any kind when no explicit assignment has been made to it.
# State the range of all primitive formats, data types and declare literal values for String and all primitive types using all permitted formats bases and representations.

Section 5: Operators and Assignments

# Determine the result of applying any operator (including assignment operators and instance of) to operands of any type class scope or accessibility or any combination of these.
# Determine the result of applying the boolean equals (Object) method to objects of any combination of the classes java.lang.String, java.lang.Boolean and java.lang.Object.
# In an expression involving the operators &, |, &&, || and variables of known values state which operands are evaluated and the value of the expression.
# Determine the effect upon objects and primitive values of passing variables into methods and performing assignments or other modifying operations in that method.

Section 6: Overloading, Overriding, Runtime Type and Object Orientation

# State the benefits of encapsulation in object oriented design and write code that implements tightly encapsulated classes and the relationships "is a" and "has a".
# Write code to invoke overridden or overloaded methods and parental or overloaded constructors; and describe the effect of invoking these methods.
# Write code to construct instances of any concrete class including normal top level classes and nested classes.

Section 7: Threads

# Write code to define, instantiate and start new threads using both java.lang.Thread and java.lang.Runnable.
# Recognize conditions that might prevent a thread from executing.
# Write code using synchronized wait, notify and notifyAll to protect against concurrent access problems and to communicate between threads.
# Define the interaction among threads and object locks when executing synchronized wait, notify or notifyAll.

Section 8: Fundamental Classes in the java.lang Package

# Write code using the following methods of the java.lang.Math class: abs, ceil, floor, max, min, random, round, sin, cos, tan, sqrt.
# Describe the significance of the immutability of String objects.
# Describe the significance of wrapper classes, including making appropriate selections in the wrapper classes to suit specified behavior requirements, stating the result of executing a fragment of code that includes an instance of one of the wrapper classes, and writing code using the following methods of the wrapper classes (e.g., Integer, Double, etc.):
# o doubleValue
# o floatValue
# o intValue
# o longValue
# o parseXxx
# o getXxx
# o toString
# o toHexString

Section 9: The Collections Framework

# Make appropriate selection of collection classes/interfaces to suit specified behavior requirements.
# Distinguish between correct and incorrect implementations of hashcode methods.

It looks like section 8 is missing in the new objectives. Is there anything else that we can skip?
 
Bert Bates
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmmm...

I'd look carefully

Strings and wrappers are in the tiger objectives!

It might be fun for someone (other than me), to put together a comparison table, although as Jim has said, I'd recommend just studying the new objectives on their own.

- Bert
 
marco borsato
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, I didn't read it properly. The problem is that I have only one book that is specially written for 1.4 exam (mughal et al.), which clearly states the objectives for that exam. Further I am using the 100+ pages booklet "tiger developer's notebook" and as reference book javalalmanac 1.4 volume 1. Because of time pressure and not wanting to get burnout so early in the new year - it would be nice to know which old objectives to skip.

Merry christmas and a happy new year everyone
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Because of time pressure and not wanting to get burnout so early in the new year


There is plenty of time for studying Tiger. The last day of the exam is 13 Feb, which you still have more than 1 month.

Of course, to play safe, you should not register the exam at the very last day.

Nick
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Nicholas Cheung:
Of course, to play safe, you should not register the exam at the very last day.



Why? If we already pay for that($49), we can take anytime(even the last day) of the promotion period, can't we?
 
marco borsato
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As far as I know you have to signup 1 working day before the actual exam, otherwise there is some chance that there is no place for you. anyway i am planning to take it on the last day, but if there are more people that want that ... At this point most important things are which objectives to skip from old exam, because I do not want to waste time reviewing stuff that is not important for tiger beta.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by marco borsato:
As far as I know you have to signup 1 working day before the actual exam, otherwise there is some chance that there is no place for you. anyway i am planning to take it on the last day, but if there are more people that want that ... At this point most important things are which objectives to skip from old exam, because I do not want to waste time reviewing stuff that is not important for tiger beta.



Personally, I'd skip all the objectives from 1.4 and study the objectives for 1.5, if you are taking the Beta.

Mark
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Why? If we already pay for that($49), we can take anytime(even the last day) of the promotion period, can't we?


In theory, it is. But this is the case to protect yourself.

Nick
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


At this point most important things are which objectives to skip from old exam, because I do not want to waste time reviewing stuff that is not important for tiger beta


I agree with Mark, why don't you throw away the objectives for 1.4? In addition, why you study Tiger exam using 1.4 materials? You'd better start the review with Tiger materials.

Nick
 
marco borsato
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Throwing away stuff just seems wrong to me. I did well on the 1.4 exam, so I want to build on this success. I don't have that many tiger materials: only booklet "tiger developer's notebook" and JSR documents.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The book in fact does not written for Tiger, and thus, I wonder whether it is really suitable for studying Tiger. As Tiger has added lots of new features, there might be only a very few chapters that are useful. As SUN did not mention the weight of each objective, so, even you found that 50% are from the old objectives, it does not necessarily mean there are 50% questions coming from old objectives (consider the case of SCWCD 1.3 and 1.4).

Personally, I feel the developer's notebook is too breif for SCJP Tiger, and thus, you might consider to spend more time in reading the specifications. Or find some more resources, like tutorials from SUN, and the Core Java book.

Nick
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nicholas is correct.

I wouldn't want to spend hours trying to figure out, which subpart of Objective 1.3 in SCJP 1.4 is also in Objective 2.6 in SCJP Tiger, but only half of the sentence and not the last part.

I'd much rather spend that time studying for Tiger, usuing the Javadoc APIs, and the Specs. Sure you will have some overlap, but that will mean you had extra studying in those parts and should get all the answers correct.

I think you are spending too much energy on trying to figure out the differences.

If you over study, I can guarantee you, you will not be hurt, if anything that extra will have you do better. Trust me.

Mark
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Mark.

In addition to the JSR, what materials you are using?

Nick
 
Bert Bates
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In terms of weighting, we tried to distribute questions across the objectives as evenly as possible. Since there are about 36 objectives, 2.777% of your study time should be devoted to each objective
 
marco borsato
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
2.7 % per objective this means 20+ pbjectives is enough to pass. I probably do not even have to learn all the Tiger features
 
Bert Bates
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
maybe marco, but we won't know the NEW and IMPROVED passing rate until after the beta is finished
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Bert Bates:
maybe marco, but we won't know the NEW and IMPROVED passing rate until after the beta is finished




But it will be 42% times something won't it?
 
Bert Bates
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Barry, et. al. -

The passing rate will ABSOLUTELY be (42% * TIGER_CONSTANT)

We just don't quite know what the value of TIGER_CONSTANT is yet
[ December 28, 2004: Message edited by: Bert Bates ]
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


The passing rate will ABSOLUTELY be (42% * TIGER_CONSTANT)


I hope the passing rate will not be too high, around 65% is fine.

Nick
 
arch rival
Posts: 2813
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
6.4 Develop code that makes proper use of type parameters in class/interface declarations, instance variables, method arguments, and return types; and write generic methods or methods that make use of ***wildcard types*** and understand the similarities and differences between these two approaches.

Anyone like to comment on what is meant by methods that make use of wildcard types?

Update: A search on google has just given me the inside picture... mmmm interesting.
[ December 29, 2004: Message edited by: Marcus Green ]
 
Bert Bates
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Two thoughts:

1 - It would be interesting to see what people think of Marcus' question...

2 - It might be fun to have a "guess the passing percentage" contest...
 
bronco
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Anyone like to comment on what is meant by methods that make use of wildcard types?



I would suggest taking a look at section 5 of this doc:

Generics in the Java Programming Language
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


It might be fun to have a "guess the passing percentage" contest...


I hope the range should fall between passing rate of SCBCD and SCDJWS.

Nick
 
Dave Wood
bronco
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Bert Bates:

2 - It might be fun to have a "guess the passing percentage" contest...


I'll get it started: 46%

(what a sad thing it will be if that turns out to be true)
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bert,

Happy New Year to you. When are the mock questions going to be posted?
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bert,

I will take the exam on the 23 Jan, so, please give me some guidelines for it. Thanks.

Nick
 
marco borsato
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I read the "developers notebook" and I have a few questions:

- Are annotations covered in the objectives?
- is format really always interchangeable with printf if yes what's the point?
- when are we going to get scanf or pointers ?
- are Executor, Callable, ExecutorService and atomic types covered?
- for which classes is it important to study the javadoc?
- where can we find good online resources for tiger SCJP

Thanks.
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I read the "developers notebook" and I have a few questions:

You should have read the objectives; they answer most of your questions.

- Are annotations covered in the objectives?

No.

- is format really always interchangeable with printf if yes what's the point?

No, format creates a String object, while printf sends the formatted object to a stream. They're very similar, but sometimes one is more convenient than the other. If you've already got a PrintWriter or PrintStream (e.g. System.out) then it's easiest to just use printf() directly. But sometimes you're not actually writing to a stream. E.g. if you're displaying results in a GUI.

- when are we going to get scanf or pointers ?

Never, probably. Eliminationg pointers was one of the main design goals of Java's creators, after all. And the scanf() API is impossible to write without pointers. However, if you look at the new java.util.Scanner class, you see functionality very much like scanf - with a different API that doesn't require pointers.

- are Executor, Callable, ExecutorService and atomic types covered?

No.

- for which classes is it important to study the javadoc?

The ones mentioned in the objectives. In general the questions are not trivia questions on obscure methods - they test whether you understand how the commonly-used methods in these classes work.

- where can we find good online resources for tiger SCJP

See my first post in this thread (on the second page).

You will also find some useful discussion of the SCJP 5.0 objectives here.
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is Enummap and EnumSet included for the beta?
 
Dave Wood
bronco
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mark Spritzler:
Is Enummap and EnumSet included for the beta?


I believe would these be included under:

6.3 Write code that uses the generic versions of the Collections API, in particular, the Set<E>, List<E>, Queue<E> and Map <K,V> interfaces and implementation classes. Recognize the limitations of the non-generic Collections API and how to refactor code to use the generic versions.
[ January 07, 2005: Message edited by: Dave Wood ]
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello People..

I'm trying to register for 311-055 exam (tiger beta) but I'm facing some problems with the prometric center. I'm wondering is there am end date for registeration or the end date is Feb. 13th.


Best Regards
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wonder, if somebody scored 100% on 1.4 and didn't study at all for 1.5, would he pass?
A sickening idea I admit because the purpose is to learn new things.
Based on the objectives I'd say he would pass.
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Nobuhiro Watsuki:
I wonder, if somebody scored 100% on 1.4 and didn't study at all for 1.5, would he pass?
A sickening idea I admit because the purpose is to learn new things.
Based on the objectives I'd say he would pass.



Good question, why doesn't he try and then we can get the answer to that question.

Well, I would say that they probably wouldn't do well in the Section on Generics, enums, Autoboxing, Varargs, and other stuff about 5.0

But they should do well in those Java type questions on overloading and overriding, etc.

And the test is harder than 1.4, so that would also be a factor.



Mark
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's a good point, that. I wonder if the candidate's previous SCJP score would be a useful statistic to capture for the beta's survey. I have the feeling my score's going to drop, mainly due to a rusty brain and not so much time to brush up on all this new fangled stuff. Hope I can even stay awake through this 5 hour marathon.
 
Thanks tiny ad, for helping me escape the terrible comfort of this chair.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic