Click here to Skip to main content
15,905,913 members
Home / Discussions / Java
   

Java

 
QuestionProb in reading .mtl file format. Pin
002comp27-Dec-09 19:35
002comp27-Dec-09 19:35 
Questioncall by value for objects Pin
mesho26-Dec-09 8:52
mesho26-Dec-09 8:52 
AnswerRe: call by value for objects Pin
Luc Pattyn26-Dec-09 9:18
sitebuilderLuc Pattyn26-Dec-09 9:18 
GeneralRe: call by value for objects Pin
mesho26-Dec-09 10:33
mesho26-Dec-09 10:33 
GeneralRe: call by value for objects Pin
Luc Pattyn26-Dec-09 10:38
sitebuilderLuc Pattyn26-Dec-09 10:38 
GeneralRe: call by value for objects Pin
mesho26-Dec-09 10:54
mesho26-Dec-09 10:54 
GeneralRe: call by value for objects Pin
Luc Pattyn26-Dec-09 11:22
sitebuilderLuc Pattyn26-Dec-09 11:22 
GeneralRe: call by value for objects Pin
Cedric Moonen26-Dec-09 22:45
Cedric Moonen26-Dec-09 22:45 
Your question is still not very clear because you didn't provide the function prototype (we can only see the content of the function, not the parameters which are passed).
Anyway, in Java whenever you manipulate an object, it is similar as using a pointer to the object. So, when you pass the object to a function, you pass the pointer and not a copy of the object. If you really need to make changes in a copy of the object, then you have to create a new instance of the object yourself.
There's no such thing as passing by value in java.

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

GeneralRe: call by value for objects Pin
mesho27-Dec-09 5:38
mesho27-Dec-09 5:38 
AnswerRe: call by value for objects Pin
April Fans18-Jan-10 15:28
April Fans18-Jan-10 15:28 
QuestionProblem in showing Illumination(shadowness) Pin
002comp23-Dec-09 0:48
002comp23-Dec-09 0:48 
AnswerRe: Problem in showing Illumination(shadowness) Pin
TorstenH.23-Dec-09 1:58
TorstenH.23-Dec-09 1:58 
GeneralRe: Problem in showing Illumination(shadowness) Pin
002comp23-Dec-09 18:58
002comp23-Dec-09 18:58 
QuestionTextureLoader In Java 3d API Pin
002comp22-Dec-09 20:48
002comp22-Dec-09 20:48 
AnswerRe: TextureLoader In Java 3d API (Solved) Pin
002comp22-Dec-09 22:00
002comp22-Dec-09 22:00 
Questionjava security Access Control Exception Pin
sangeethanarayan22-Dec-09 1:23
sangeethanarayan22-Dec-09 1:23 
AnswerRe: java security Access Control Exception Pin
TorstenH.22-Dec-09 1:58
TorstenH.22-Dec-09 1:58 
QuestionReset Canvas Problem Pin
002comp21-Dec-09 23:21
002comp21-Dec-09 23:21 
AnswerRe: Reset Canvas Problem Pin
002comp22-Dec-09 20:49
002comp22-Dec-09 20:49 
QuestionHow to get all url of a website Pin
sharkbc21-Dec-09 22:58
sharkbc21-Dec-09 22:58 
AnswerRe: How to get all url of a website Pin
Nagy Vilmos22-Dec-09 1:18
professionalNagy Vilmos22-Dec-09 1:18 
QuestionJar File Not working properly Pin
002comp21-Dec-09 21:12
002comp21-Dec-09 21:12 
AnswerRe: Jar File Not working properly Pin
Richard MacCutchan21-Dec-09 21:32
mveRichard MacCutchan21-Dec-09 21:32 
GeneralRe: Jar File Not working properly Pin
002comp21-Dec-09 21:58
002comp21-Dec-09 21:58 
GeneralRe: Jar File Not working properly Pin
Richard MacCutchan21-Dec-09 22:08
mveRichard MacCutchan21-Dec-09 22:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.