Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to remember all methods in all interfaces and classes

 
geeta vemula
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • 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
 
Prasad Kumbhare
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • 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!
 
Vishwanath Krishnamurthi
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • 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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic