0 valutazioniIl 0% ha trovato utile questo documento (0 voti)
30 visualizzazioni2 pagine
What is the diffrence between an abstract class and Interface? What is the use of serializable interface? How can a dead thread be started? What are the 2 ways of creating a thread?
What is the diffrence between an abstract class and Interface? What is the use of serializable interface? How can a dead thread be started? What are the 2 ways of creating a thread?
Copyright:
Attribution Non-Commercial (BY-NC)
Formati disponibili
Scarica in formato DOC, PDF, TXT o leggi online su Scribd
What is the diffrence between an abstract class and Interface? What is the use of serializable interface? How can a dead thread be started? What are the 2 ways of creating a thread?
Copyright:
Attribution Non-Commercial (BY-NC)
Formati disponibili
Scarica in formato DOC, PDF, TXT o leggi online su Scribd
1. What is the diffrence between an Abstract class and Interface ?
2. What is user defined exception ?
3. What do you know about the garbate collector ? 4. What is the difference between C++ & Java ? 5. Explain RMI Architecture? 6. What is JDBC? How do you connect to the Database ? 7. What is the difference between Process and Threads ? 8. What is serializable Interface ? 9. What is the use of Interface ? 10. Why Java is not fully object oriented ? 11. Why does not support multiple Inheritance ? 12. What it the root class for all Java classes ? 13. What is polymorphism ? 14. Public static void main – Explain 15. Difference between String & StringBuffer 16. Difference between Interface & Abstract class 17. Can abstract be declared as Final 18. Can we declare variables inside a method as Final Variables 19. What is the package concept and use of package 20. How can a dead thread be started 21. Explain about Superclass & subclass 22. Difference between TCP & UDP 23. What is finally in exception handling 24. Vector class 25. What will happen to the Exception object after exception handling 26. Two ways to create the thread 27. Synchronization
1. What is meant by encapsulation ? Explain with an example
2. Is multiple inheritance allowed in Java ? Why ? 3. What are the different types of modifiers ? 4. What are the access modifiers in Java ? 5. What is meant by a wrapper class ? 6. What is meant by static variable and static method ? 7. What is meant by Garbage collection ? 8. What is meant by final class, methods and variables ? 9. What is the difference between public private, protected and static 10. What is meant by method overloading ? 11. What is meant by method overriding ? 12. What is the difference between final, finally and finalize ? 13. What is the use of an interface ? 14. How to prevent field from serialization ? 15. What is the use of finally ? 16. Can multiple catch statements be used in exceptions ? 17. Is it possible to write a try within a try statement ? 18. What is meant by a Thread ? 19. What is the 2 way of creating a thread ? Which is the best way and why 20. What is the method to find if a thread is active or not ? 21. What is the difference between sleep and suspend ? 22. What is meant by deadlock ? 23. How can you avoid a deadlock ? 24. What is the use of ‘this’ ?
What is context switching ?
25. What is meant by RMI ?
26. Explain RMI Architecture ? 27. What is meant by a stub ? 28. What is meant by a skelotn ? 29. What is meant by serialisation and deserialisation ? 30. HOW CAN U MAKE sure an object is NOT STORED INTO A DATABASE