what is the diffarance between object and variable
mrwan 0 Newbie Poster
Recommended Answers
Jump to PostAnd when it comes to Java a variable is NEVER an object.
A variable (either a static or instance data member, technically) is always either a primitive or a reference to an object on the heap, never that object itself.
All 4 Replies
stymiee 111 He's No Good To Me Dead Team Colleague
jwenting 1,905 duckman Team Colleague
TylerSBreton 13 Junior Poster in Training
jwenting 1,905 duckman Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.