• 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

exercises in scjp book

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have just recently begun to prepare for the scjp exam.... i would like to know what is the recommended way to solve the exercises in the book....

should i separately compile class files and do it or what?

regards
percy
 
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

The more code you write, the more you'll get the ideas.
Don't forget to solve as much mock exams as possible.

Best of luck ...
 
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Percy,

I have to wear two different hats in this post :roll:

1 - As a moderator I need to ask you to update your display name to include both a first and last name - we've found this keeps the ranch friendlier

2 - As far as working through mock exams goes, I'd say that you should start out trying to figure out the questions in your head and/or with pencil and paper. If you get the question wrong, or feel that you don't completely understand why the code is working the way it is, then I'd recommend that you write a little Java program to test the code and to test variations of the code until it all makes sense.

hth,

Bert
 
Percy Dadabhoy
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for your responses regarding my question but what I really wanted to know is that is it alright to use an IDE such as NetBeans to practice small programs as you suggest?

@Bert
I have updated my profile to include my last name as well.

And one more thing - I really admire the way that you and Kathy have written the SCJP 1.5 exam study guide. I don't feel like I am studying when I read the book. Congrats & Keep It Up!!
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suggest using TextPad, and the reason for that is when you say:

objectName and press . you will get the list of all methods, constants in the class's API, which will cause you not to remember the names of the methods, cause you simply will depend on the list.

For the purpose of SCJP, use TextPad.

Best of luck ...
 
Bert Bates
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Percy,

I'd strongly advise you to use only a text editor and the command line.

hth,

Bert
 
Grow a forest with seedballs and this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic