Which of these is correct about passing an argument by call-by-value process?
(a) Copy of argument is made into the formal parameter of the subroutine
(b) Reference to original argument is passed to formal parameter of the subroutine
(c) Copy of argument is made into the formal parameter of the subroutine and changes made on parameters of subroutine have effect on original argument
(d) Reference to original argument is passed to formal parameter of the subroutine and changes made on parameters of subroutine have effect on original argument
This question was addressed to me in a job interview.
Origin of the question is Overloading Methods & Argument Passing in division Classes and Methods of Java
Select the correct answer from above options
Java questions and answers, Java questions pdf, Java question bank, Java questions and answers pdf, mcq on Java pdf, Java questions and solutions, Java mcq Test , Interview Java questions, Java Questions for Interview, Java MCQ (Multiple Choice Questions),Core Java Questions, Core Java MCQ,core java interview questions for experiencedcore java interview questions for 3 years experience,java programming questions,core java interview questions for freshers,java interview questions and answers for freshers, java programming questions and answers pdf, java interview questions for beginners