I want to change two variables at once like when i set one to a value the other one is set to the same value . i used to do it with pointers in c++ but there are no pointers in java so i don't know how to do it . thanks in advance
Th35h4d0wF0x 0 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JeffGrigg commented: Yes; exactly. +6
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.