Technical PI Questions
Technical PI Questions
1. What is Java?
2. Why is Java a platform independent language?
3. What are the differences between C++ and Java?
4. Why is Java not a pure object oriented language?
5. List the features of the Java Programming language?
6. What do you get in the Java download file?
7. Explain JVM, JRE, and JDK.
8. Differentiate between instance and local variables.
9. What is the final keyword in Java?
10. What happens when the main() isn't declared as static?
11. Why is Java a platform independent language?
12. What does the “static” keyword mean ? Can you override private or static
methods in Java ? .
13. Does Java support multiple inheritance ?
14. Why is the main method static in Java?
15. What are the differences between constructor and method of a class in Java?
16. Why does the java array index start with 0?
17. What are pass by reference and pass by value ?
18. What is a ClassLoader?
19. What are the Memory Allocations available in JavaJava?
20. What is Function Overriding and Overloading in Java ?
21. What are the differences between Heap and Stack Memory in Java?
22. What does the “static” keyword mean ? Can you override private or static
method in Java
23. Define Wrapper Classes in Java.
24. Define Copy Constructor in Java
25. What is constructor and its type.?
26. What is the default value stored in Local Variables?
27. Can you access non static variable in static context ?
28. What is static keyword in java?
29. What is static method in java?
30. What are the Data Types supported by Java ? What is Autoboxing and
Unboxing ?
31. What is static class in java?
32. What is this keyword in java?
Basic Concepts
1. What is Java?
Explain the key features of Java.
2. Explain JVM, JRE, and JDK.
What is the difference between them?
3. What are the main features of Java?
Discuss concepts like platform independence, object-oriented, and more.
4. What is a Class and an Object?
Explain with examples.
5. What is Inheritance in Java?
How is it implemented?
6. What is Polymorphism?
Explain with examples of method overloading and method overriding.
7. What is Encapsulation?
How does Java achieve encapsulation?
8. What is Abstraction?
How is abstraction implemented in Java?
9. What are Constructors in Java?
Explain default and parameterized constructors.
10. What is the difference between a constructor and a method?
Data Types and Operators
Exception Handling
Collections Framework
Multithreading
41. What are the classes in Java used for File Handling?
42. What is the difference between FileReader and FileWriter?
43. What is serialization in Java?
Miscellaneous