Easy Questions on Core Java
From a practical programming viewpoint, polymorphism exists in three distinct forms in Java:
* Method overloading
* Method overriding through inheritance
* Method overriding through the Java interface
- 1. What is the Important feature of Java ?
- 2. What is mean by platform independence ?
- 3. Define JVM ?
- 4. IS JVM\'s platform independent ?
- 5. Explain the principle of Encapsulation ?
- 6. Explain the principle Inheritance ?
- 7. Explain Polymorphism principle ?
From a practical programming viewpoint, polymorphism exists in three distinct forms in Java:
* Method overloading
* Method overriding through inheritance
* Method overriding through the Java interface
- 8. Define an abstract method ?
- 10. What are local variables ?
- 11. What is the use of packages in java ?
- 12. What is serialization ?
- 13. What is de-serialization ?
- 14. What is Externalizable ?
- 15. Define an Abstract class ?
- 16. What are instance variables ?
- 17. Define a package ?
- 18. What are the access modifiers available in Java ?
- 19. What is the difference between thread and process ?
- 20. What is a garbage collection ?
- 21. What is the importance of a static variable ?
- 22. What is Use of Abstract Class ?
- 23. Can abstract class be declared as final ?
- 24. What is the use of a abstract variable ?
- 24. Define Multi-threading ?
- 25. Define deadlock ?
- 26. Define the Local object ?
- 27. What is anonymous class ?
- 28. What is class path ?
- 29. What is path ?
- 30. Why does Java not support operator overloading ?