Dear Student
First study all portions then try to answer all these questions
Please don’t go by studying only these Questions
This will help to realize your position [only a guideline], Questions can come from our syllabus. So
study well.
Thanks
Shiju Sir
________________________________________________________________
ALL THE BEST
________________________________________________________________
Viva Questions
Basic Knowledge required in Java
1. What is the initial name of java
2. How java achieves platform independence
3. What is the difference between byte code and binary code
4. What is javac, java and jvm
5. What is jdk, bdk, sdk
6. Who invented java and which company
7. Difference between JDK, J2SE, J2EE and J2ME
8. How to set the path and class path and what is the use
9. What are environment variables
10. What do you mean by labelled loops in JAVA?
OOPS [Please refer the full note book – which I have discussed in the class]
1. What is class and object? [Differentiate class and object]
2. What is the functionality of super [2 uses]
3. What is the use of interfaces
4. Name two features available in c++ but not in java [Operator overloading and Multiple inheritance]
5. Why multiple inheritance is not present in java [ambiguous problem]
6. What is interface?
7. Why the main function is declared as static in java always [without creating object – to call a function]
8. What is command line arguments [ String args[] ]
9. What is labeled loop and what is the drawback of that?
10. What is an abstract class in java? Difference between abstract class and abstract methods
11. What is a wrapper class in java
12. What is the difference between int and Integer
13. What is a thread and how many ways are there to create threads
14. Why there are two methods for creating threads in java
15. Any three difference between java and c++
16. What are generic classes
17. What is delegation model in java
18. Name any three keyboard or mouse events
19. What is TCP and UDP? Differentiate
20. What is socket and port
21. What is mean by RandomAccessFile
22. What is the difference between length and length()
23. What is mean by mutable and immutable object
24. What is the difference between overriding and overloading
25. What is mean by Garbage collection and how java achieves that? Then why finalize()if automatic
26. What is the difference between finally and finalize
27. What is the difference between throw and throws
28. What is the use of final keyword in java
29. What is the difference between error and exception
30. What is the difference between String and StringBuffer
31. What is the difference between AWT and Applet [what is applet]
32. What is the difference between BufferedReader and InpuStream
33. What is this pointer in java
34. What is the role cloneable ?
35. What do you mean by shallow copy?
36. What is deep copy?
37. What do you mean by co-variant return type?
38. Upcasting / widening
39. Down casting / narrowing / shrinking
40. Lambda expressions
41. Difference between final, finally, and finalize ()
42. What do you mean by adapter classes?
43. Differentiate HashMap and HashSet
44. Differentiate Compile time polymorphism and Runtime polymorphism
45. What is IS A inheritance?
46. What is HAS A Inheritance?
47. Use of instance off operator
48. Use of transient keyword
49. Define serialization and deserialization
50. Properties of constructor
Database connectivity
1. Different types of connection
2. What is drivermanager
3. What is JDBC & ODBC & JDBCODBC
4. Examiner may ask you to write the connectivity code
5. Prepare, callable, statement difference.