Interview questions

Team Lead/ Tech Lead interview questions – page 55

3,203 questions. Tap “Show answer” to check yourself.

  1. How can you force all derived classes to implement a method present in the base class?

  2. Why do we need interface in Java. Instead of interface we can write the methods in the class itself. Why do we need seperate interface?

  3. How do you sing an Applet?

  4. Can we connect two datareader to same data source using single connection at same time?

  5. What are the similarities and differences between Java and C/C++?

  6. What is the range of the short type?

  7. What value does readLine() return when it has reached the end of a file?

  8. What is connection pooling and how do you make your application use it?

  9. Given an integer N>0,write a recursive c++ function that writes the integer 1,2,...N ?

  10. What is virtual class and friend class?

  11. In what situations we can use innerclass and anonymous class

  12. What is meant by Servelet. What are the parameters of the service method?

  13. After a thread is started, via its start() m?

  14. Write a program for n lines1 2 3 4 516 17 18 19 615 24 25 30 714 23 22 21 813 12 11 10 9

  15. What is the use of typedef?

  16. What is polymorphism? Explain with an example?

  17. What is public, protected, private?

  18. Tell me the latest versions in JAVA related areas?

  19. How is method overriding different from overloading?

  20. What is a native method?

  21. Can dead thread restart?

  22. What is the purpose of reserved word ?using? in C#?

  23. What is meant by cookies? Explain.

  24. How do I stop a thread?

  25. I want source code of series of prime numbers?

  26. Difference between realloc() and free()?

  27. What's new with the stop(), suspend() and resume() methods in JDK 1.2?

  28. What is meant by Session, Tell me something about HTTPSession Class?

  29. Scope Variables ?

  30. Why String is not a primitive data type

Companies that ask Team Lead/ Tech Lead questions