Welcome! Log In Create A New Profile

Advanced

Objectst

Posted by chayolle 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Objectst
October 29, 2006 07:08PM
I'm a repeater and I remember last year there was an MCQ question that asked whether parameters in java is always passed by reference or by value, and I still don't know the answer LOL ! Any suggestions and please if you find it in JIA can you tell me on what page??? Thx tongue sticking out smiley
Re: Objectst
October 29, 2006 08:36PM
Yo couldn't find it the textbook either, but i googled it

"Java is always pass-by-value. Always."

http://forum.java.sun.com/thread.jspa?threadID=774375&messageID=4413469

Good luck for remaining exams
Re: Objectst
October 29, 2006 09:24PM
Can you please give us a breakdown of what the paper looked like last year?
How many theory questions?
What about find the fault in the code?
Also give the output of the following program.
Did you have to write applets?

Any information would be appreiated

REgards and good luck
Re: Objectst
October 29, 2006 09:24PM
I forgot something
What were the easy and difficult parts ?
Re: Objectst
October 29, 2006 09:31PM
It can be found in Jia (Parameter passing) p108

Henk
Re: Objectst
October 31, 2006 01:41PM
primitive types (int, char, float, etc) are always passed by value, reference types (such as an array or a class object) are passed by reference.
Sorry, only registered users may post in this forum.

Click here to login