• 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

method- static/abstract?

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
joel garner
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 282
Eclipse IDE PHP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
joel garner
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 282
Eclipse IDE PHP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sounds as though this thread would sit better on the SCJP forum. Moving.
 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Get me the mayor's office! I need to tell him about this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic