File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes method- static/abstract? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "method- static/abstract?" Watch "method- static/abstract?" New topic
Author

method- static/abstract?

joel garner
Greenhorn

Joined: Dec 28, 2008
Posts: 9
In some of the mock exams for scjp 1.5, there are questions on API'S where they just mention the name of a method and ask us whether this method is static. How do we know whether a method is static/ abstract/ whatever by just looking at a method name? Do we have to remember it or is there any other way by which we can find out?
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 14606

Do you happen to remember which method was it? If it was one of the obscure methods, then yes, it is an unfair quesstion. On the other hand, certain methods, you should know from experience.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
joel garner
Greenhorn

Joined: Dec 28, 2008
Posts: 9
Yes i agree that if you have been working in java then you would know by experience, but for a person who wants to attempt the scjp exam by just studying the books
Rob Spoor
Saloon Keeper

Joined: Oct 27, 2005
Posts: 18365

The SCJP exam expects you to have some knowledge of the core-core APIs: java.lang, java.io and the Collections framework. So I repeat Henry's question: what method(s) were the questions about?


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
Michael Angstadt
Ranch Hand

Joined: Jun 17, 2009
Posts: 269
joel garner wrote:but for a person who wants to attempt the scjp exam by just studying the books

This exam is meant for people who already have knowledge and experience with Java, not for complete newbies.


SCJP 6 || SCWCD 5
joel garner
Greenhorn

Joined: Dec 28, 2008
Posts: 9
The method was from scanner class useRadix(int Radix) and there were a few more which i dont remember.

To the person who said that scjp 5 exam is not for newbies, if i am correct people gain knowledge only by reading books and practise i suppose and not by birth. LOL
Michael Angstadt
Ranch Hand

Joined: Jun 17, 2009
Posts: 269
joel garner wrote:The method was from scanner class useRadix(int Radix) and there were a few more which i dont remember.

To the person who said that scjp 5 exam is not for newbies, if i am correct people gain knowledge only by reading books and practise i suppose and not by birth. LOL


I've just heard that the material that's out there which helps prepare you for the exam is geared more toward people who already have a working knowledge of Java than with newcomers. And people taking the exam tend to be people who are looking to boost their Java career, not begin it.
Rob Spoor
Saloon Keeper

Joined: Oct 27, 2005
Posts: 18365

joel garner wrote:The method was from scanner class useRadix(int Radix) and there were a few more which i dont remember.

I hate to say it, but for the Java 6 SCJP you will need to know java.util.Scanner. That includes useRadix.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 26710
Sounds as though this thread would sit better on the SCJP forum. Moving.
Bob Wheeler
Ranch Hand

Joined: Apr 24, 2009
Posts: 317
You should know which method is static and which one is not. That is a huge difference. Take for instance the thread methods:

If I can recall it right, I have seen such a question in a mock exam.

cheers
Bob


SCJP 6 - SCJD - SCWCD 5 - SCBCD 5
JavaEnterpriseEditionFaq - TomcatFaq
 
 
subject: method- static/abstract?
 
Threads others viewed
static and abstract methods
lil explanation requied ..
static class
abstract class & interface
Static Methods and Instance Methods
IntelliJ Java IDE