Which among coming up next is right for the class characterized underneath? class understudy { int marks;
Question:
Which among coming up next is right for the class characterized underneath? class understudy { int marks; public: student(){} student(int x) { marks=x; } }; primary() { understudy s1(100); understudy s2(); understudy s3=100; bring 0 back; } 22. The duplicate constructors can be utilized to? 23. Which constructor will be called from the article obj2 in the accompanying C++ program? class A { int I; A() { i=0; } A(int x) { i=x+1; } A(int y, int x) { i=x+y; } }; An obj1(10); An obj2(10,20); An obj3; 24. Which among the accompanying addresses right constructor?
25. What happens when an item is passed by reference?
26. Which access specifier is normally utilized for information individuals from a class?
27. How to get to information individuals from a class?
28. Which component of OOP diminishes the utilization of settled classes?
29. Which watchword among the accompanying can be utilized to pronounce a variety of articles in java?
30. Which administrator can be utilized to free the memory allotted for an item in C++?
Managerial accounting
ISBN: 978-0471467854
1st edition
Authors: ramji balakrishnan, k. s i varamakrishnan, Geoffrey b. sprin