Originally posted by Peter Tran:
Hi Jacquie,
Regarding your initial inquiry that started this discussion thread, I think most people (correct me if I'm wrong) have a difficult time grasping OOA/OOD/OOP when they first start doing it. It's only with much practice with trial and error that the concept of "object-oriented" anything finally sinks in.
For me, it�s like having an object-oriented light bulb inside my head. The more I worked with objects the brighter the bulb got. When I run into a difficult concept and the bulb would flicker (e.g. when I was trying to figure out when to use abstract class vs. interfaces), but after I grasp the concept and figured out what to do than the bulb would get brighter. I would like to think that my object-oriented light bulb is getting brighter by the day.
Here�s a personal example. I didn�t grasp the nuances of interfaces until I had to use the JAVA 2 Collections Framework. The collection classes are defined via a handful of interfaces (e.g. List, Maps, Set, etc.). The first time I started using these classes, I was instantiating an object of the derived class with the reference type from the same derived class!
java.util.ArrayList aList = new java.util.ArrayList();
What was worse was I wrote all methods to accept an ArrayList.
public void accumulateValueInList(ArrayList theList) {
// Iterate through list and accumulate value.
}
After littering my code with the above code, I was then told to use a LinkedList. My first reaction was �No!!!� - because I would have to change my method signature from ArrayList to LinkedList (and I had a lot of methods coded this way). Only after going through this painful exercise did I realize that it would have been a lot less painful, if I initially used the interface as my reference type.
public void accumulateValueInList(java.util.List theList) {
// Iterate through list and accumulate value.
}
Now I only had to change where I instantiated the collection object, and none of my methods needed to change.
Regards,
-Peter Tran
Originally posted by Anne Yang:
Since I am not familiar with the book giveaway discussion, I posted my thoughts as a new topic. Now I am moving my response to its right place.
[snip]
Jacquie:
A very broad question: Do you think SCJ2P plus a good digestion of you book would give us some firm grips on entry-level java positions? If not, what steps do you recommend to follow?
Thanks much!
Jacquie's 'Tried and True' Method for Learning Java Properly
....
14. From this point forward, your options are open-ended! For example, you may wish to become familiar with Java 2 Enterprise Edition, which provides support for enterprise-level server-side applications; you may wish to study up on the Java 2D and 3D graphics APIs; or your interests may lie with the Java 2 Micro Edition (J2ME), a highly optimized Java runtime environment targeting consumer products such as cellular phones and pagers. Whichever direction you choose to take, you can rest assured that there will be plenty of new Java-related innovations in the months and years to come.
Originally posted by Ed Lance:
Great point...I have to agree with most everyone else, not well grounded in OO concepts before learning Java. Which leads to another question. Is is possible to totally understand OO concepts without implementing them in some language/program? Seems as if one needs to keep reading/learning theory and then trying to implement the new knowledge in a program to really become a master!
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>"Those who cast the votes decide nothing. Those who count the<BR>votes decide<BR>everything." <BR> -Joseph Stalin<HR></BLOCKQUOTE>
sathish
Originally posted by Noel Castillo:
Jacquie,
Thank your for your "Tried" and "True" post. As a Java newbie, it will help me a lot in aligning my efforts towards the true north in Java. My observation from your tips is that you did not mention UML w/c helped me a lot in digesting the concepts presented in the Mughal&Rasmussen book. I would sometimes reverse-engineer some of their examples just to get a high-level view of the concepts.
Also, you did not mention design patterns. I understand these are important when trying to learn OO Design. My goal after SCJP is to understand patterns and implement a small project.
Lastly, I know that the options are wide open after going thru your 13 tips, however you only mentioned JDBC and not the other quite popular new technologies (in my perspective) like JSP, servelets, XML. How do these rank to you as things to aspire for in becoming more marketable in Java?
I wish you success with your book.
All the best,
Noel Castillo
[This message has been edited by Noel Castillo (edited January 04, 2001).]
Originally posted by Dean Duffing:
Hi:
I would have to agree with most postings in this thread. My background has gone from mainframe,to client-server, to web. While I do find some value in the "object-based" experience I acquired doing PowerBuilder, a void is still there without the experience and OO research. I am interested in your book to help fill this void, but don't feel it is equal to actual experience... especially when it comes to the job market. There seems to be alot of people out there that can "talk the talk", but not "walk the walk". When starting with nothing though, the book should be the "foot in the door" towards getting that experience.
One good thing about Java seems to be its inherent OO Nature... it seems harder to code non-OO Java than code OO C/C++... just my initial opinion.
Originally posted by Satthish kumar:
Hello Jacquie,
I am a software professional who has been programming in java for the past 8 months. Regarding OOP concepts I do not have much problem but I get stuck up almost everytime, when there is a need to define classes and interfaces for a particular problem space - I have read somewhere that nouns in the context of problem space are to be made classes and the verbs their attributes - this is too abstract for me.
Could you please help me out with this - are there any specific set of guidelines to map the problem space with the solution space - how do I identify classes(their methods and attributes) that are really optimal for the application being designed.
Originally posted by Kajol Shroff:
Hi Jacquie,
I am a begginer in JAVA and am not from Programming background...
I am reading Thinking in JAVA....and am confused betweenn Package nad IMPORT ....all i can understand is Package is folder where all JAVA files reside...
IMPORT is we are importing that folder along with one or all files within it.
Is it right..
I am not thorough with the OOPS concept....all i can understand bout oops concept is that whenever we create an object a new memory location is created...and we are using the copy of the class whose object is created..
I would like to know more about it......
Reply ......I want to know whether i am on the right track ...as i am planning for SCJP also....sooner..
Thanxs
Kajol
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
|