11. a (i). Describe the advantages of OOP (8)
(ii).What are the difference between pointers to constant and constant pointers (8)
(Or)
b.(i). Describe the applications of OOP technology (8)
(ii). What is inline functions? Explain the situations where inline expansion may not work (8)
12.a.(i). Explain copy constructor with suitable C++ coding (8)
(ii) List out the rules for overloading operators (8)
(Or)
b. (i) Explain hybrid inheritance with suitable C++ coding. (8)
(ii) Define polymorphism. Explain the different types of polymorphism. (8)
13.a. write a C++ program to read from two files simultaneously. (16)
(Or)
b.Define multiple catch statement with the help of suitable C++ coding. (16)
14. (a) Explain method overloading with suitable Java coding. (16)
`
(Or)
(b).(i) Write a Java program for alphabetical ordering of strings (10)
(ii). Explain the different forms of inheritance supported in Java (6)
15.(a). Explain various forms of interface implementation (16)
(Or)
(b). Write a Java program to throw user defined exceptions. (16)
|