The Artima Developer Community
Sponsored Link

Java Answers Forum
Java basics

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
saramathews

Posts: 1
Nickname: sarithatms
Registered: May, 2003

Java basics Posted: May 21, 2003 1:10 PM
Reply to this message Reply
Advertisement
I am working in the structured Paradigm(COBOL) for alomost 10 years.. Now I trying to understand the OO concepts..When I read the book "Thinking in Java " by Bruce Eckel, it
talks a lot about "references"

The book says although you treat everything as an object, the identifier you manipulate is actually a "reference " to an object..

In this context what do you mean by identifier?
Also can you explain the meaning of reference with a java
examples..

It also says
if I declare String S, it's a reference

and if I declare
String S = new String(); then you created a object ..

Does it mean all instance of a class is reference

Will it be possible to respond to me at saritha_mathai@efunds.com

Thanks
Saritha

Topic: Class class, array of objects ... Previous Topic   Next Topic Topic: Problems with ChartDataView

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use