aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes SCJP 6 New Topics Links Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "SCJP 6 New Topics Links" Watch "SCJP 6 New Topics Links" New topic
Author

SCJP 6 New Topics Links

Denise Advincula
Ranch Hand

Joined: Jan 01, 2007
Posts: 160
I found these from the Results forum:

NavigableMap
Console

Can you suggest me others?

I also hope links on the new topics will be included in the SCJP FAQs, for those like me who sadly couldn't buy the new SCJP Guide as of the moment.

Thank very much you in advance!


**
More from here: Stupid Java Tricks

[ August 20, 2008: Message edited by: Denise Saulon ]
[ September 13, 2008: Message edited by: Denise Saulon ]

SCJP/OCPJP 6 | SCWCD/OCPJWCD 5 | OCMJEA in progress...
Denise Advincula
Ranch Hand

Joined: Jan 01, 2007
Posts: 160
Hello,

I have been encountering theoretical questions about Console on my Mock Questions.

For example, from Enthuware QID: com.enthuware.ets.scjp.v6.2.800:


In which of the following cases can the Console object be acquired?

a. When the JVM is started from an interactive command line with redirecting the standard input and output streams to the Console.
b. When the JVM is started from an interactive command line without redirecting the standard input and output streams.
c. When the JVM is started in the background with redirecting the standard input and output streams to the Console.
d. When the JVM is started in the background without redirecting the standard input and output streams.



The answer is b. And I didn't know that because I only studied Console from my previous links. The previous links provided information just on how to use it. So I don't know where to really get more theoretical explanations.

Until I checked the API and it was there:


Whether a virtual machine has a console is dependent upon the underlying platform and also upon the manner in which the virtual machine is invoked. If the virtual machine is started from an interactive command line without redirecting the standard input and output streams then its console will exist and will typically be connected to the keyboard and display from which the virtual machine was launched. If the virtual machine is started automatically, for example by a background job scheduler, then it will typically not have a console.


Two or more questions I got from Mocks are from that same paragraph. So, I guess I should include the API here for the Console link:

Console API

I hope you can share more links here. At least there's a lesson learned for me: always check the API for new stuffs.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SCJP 6 New Topics Links
 
Similar Threads
SCJP
JTable's setFillsViewportHeight method for Java 1.5?
SCJP 5 Mock Exam
pls give me some advice for passing the scjp
difference between scjp 5.0 and scjp 6.0