• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Thinking in Java

 
Ranch Hand
Posts: 77
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am an experienced programmer, but my main language has been C with some C++ sprinkled in. I started learning java from java documentation online, and from the OCA book i am reading for my certification. Coming from the simplicity of C, it is a drastic change to see so many classes and methods. The rules governing "shallow copy" of objects is understood by me, but the general rules governing shallow copy of various objects is still a bit muddled. As i try to learn java, is there a certain way to think, so that Java becomes second nature to me ? After years of using C, i get to a point where i think in C. Any online resources to show how to think object oriented and specifically Java oriented thinking ? Please don't point me to a book, because i have already seen books on "object oriented design" and such. It is hard for me to not think of 'pointers' while i read about methods like ArrayList.toArray() which seems to return a shallow copy (in my mind, a copy that is one level deep). I would like to hear opinions from those who have had 5+ years of pure java coding, resulting in a product.
 
Trust God, but always tether your camel... to this tiny ad.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic