What is the difference between pass by reference and pass by
value?
Answer Posted / p suresh kumar
passing an object by value is defined by the copy
constructor of that object's class. This can make pass-by-
value an extremely expensive operation.
| Is This Answer Correct ? | 11 Yes | 18 No |
Post New Answer View All Answers
Which is better struts or spring?
can inline function declare in private part of class?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
Why polymorphism is used in oops?
What is new keyword in oops?
What is coupling in oop?
What is static modifier?
What is polymorphism oop?
What does and I oop mean in text?
State what is encapsulation and friend function?
What is coupling in oops?
What is abstraction encapsulation?
What is encapsulation in oop?
Where You Can Use Interface in your Project
Why do we use class in oops?