Trending ▼   ResFinder  

ICSE Board Exam 2017 : Commercial Applications

7 pages, 0 questions, 0 questions with responses, 0 total responses,    0    0
jaideep_singh_datta
Sacred Heart School (SHS), Moga
10
+Fave Message
 Home > jaideep_singh_datta >

Formatting page ...

SACRED HEART SCHOOL Moga, Punjab Department of Computer Science Class X-Assignment on Functions and Constructors 1. What is meant by constructor overloading 2. What are access specifiers 3. Can a program having a class declaration run without a constructor? Justify 4. How is pass by value different from pass by reference 5. What is the role of the keyword void in declaring functions 6. Differentiate between Method Prototype and Method Signature 7. Differentiate between Arguments and Parameters 8. Differentiate between Formal and Actual Parameters 9. Differentiate between pass by value and pass by reference 10. Differentiate between constructor function and Normal function 11. Why do we need static members? 12. Define the term this keyword 13. A class object is also known as ________ 14. Which keyword makes class members accessible outside the class in which they are declared? 15. A class object is also known as ________. 16. A member function having the same name as that of the class name is called _________ 17. A constructor has ___________ return type 18. A constructor is used when an ___________ is created 19. A constructor without any argument is known as ____________ 20. _____________ constructor creates objects by passing value to it 21. The ____________ refers to the current object 22. The constructor generated by a compiler is known as ______________ 23. Differentiate between the following statements a. Abc(5,7,9) b. Abc o=new abc(5,7,9); 24. What is the difference between Local variables and Instance Variables? 25. How does compiler resolve which function is to be called from overloaded function? 26. Read the given segment of program and answer the questions that follows: class customer { private long cust_id; String cust_Name; customer(long id, String n)

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us

 

jaideep_singh_datta chat