C++/ Java Interview Questions - Infosys

1. What is the use of friend function?
2. Explain the types of polymorphism?
3. How C++ and Java are different?
4. How to use thread in Java? Write the syntax of it?
5. What is inheritance? Explain different types of inheritance with examples?
6. What is difference between interface and abstract classes?
7. What are pass by reference and pass by value?
Post your comment