• 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

how to remember all methods in all interfaces and classes

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

I am preparing for exam from HFSJ and also from Book by Hanumant Deshmukh and also able to get the concepts as i read it. But rememebering all the methods in all the interfaces and classes in bit difficult for me. So kindly suggest me some solutions. Is there any way out?

Thanks.
Geeta Vemula
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

The ways I am suggesting might not be best ones but I do this to remember method signatures.
1) I tried to code using these methods as much as possible. Doing that I remember them sometimes.
2) I write it down on piece of paper 2-3 times and go over them whenever get time.

Hope this will help.

Thanks!
 
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) You can organize the useful methods yourself in a table, whichever way you like...

In my notes, the Request API looks like-


There, I have organized a list of methods that return an Enumeration separately, that which returns a String separately..
whichever way you like...

And keep adding to it / editing it... for ex. you were stumped at a question.. goto your notes, add a 'To Watch' point...

2) Google often. Whenever I have a doubt, I google up the Class Name or Interface name and have a look.
I must've googled the word 'ServletRequest' I wonder how many times!!! Google Toolbar - a Must have

3) Most methods make sense. Those methods couldn't have been in any other Class, Interface... return types make sense... like getParameter("whatever") returning a String!


4) I don't do this kind of generalization often but found this in a ranchers notes-
The getXxxxNames() method return an enumeration
Isn't it an easy way of remembering?


5) I have a whole pack of sketches, write comments, or scribble out in the book... colorful you see

you don't have to try and learn all the useful methods of a class in one go...

HTH,
Vishwa

 
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic