Level 1 Questions
-------------------------------------------------------------
1. What is Java ?
2. What is the features of Java?
3. Who is father of java ?
4. What is Variable? Types of Variable Explain With Example ?
5. What is Datatype? Types of datatypes Explain With Example ?
6. Explain The difference between local variable and global varia
7. Can we print local variable without initialization?
8. What is keywords ?
9. What is identifiers ? Explain Rules of The Identifiers ?
10. Explain The Working flow of For loop ? with syntax ?
11. What is The Difference Between while loop and Do-whil
12. Explain Why Java is Platform independent ? or Explain W
13. Explain Why Java is not pure Object-oriented language ?
14. Explain Difference Between =(Single equals) and == (Do
15. Explain The Working flow of nested for loop ?With synta
16. Explain The difference between forloop and
nested for loop ?
17. what is method ?
18. What is Object ?
19. What is class?
20. What are the types of methods?
21. What is method Overloading ?
22. What is method Overriding ?
23. what happen if we declare class as final ?
24. what happen if we declare variable as final ?
25. what happen if we declare method as final ?
26. Define What is constructor?
27. What are the Types of Constructor we have in java ?
28. What is constructor Chaining ?
29. Define Default constructor ?
30. What is inheritance ?
31. What is use of extends ?
32. What is The use of implements ?
33. What is final ?
34. What are The Types of inheritance?
35. What is polymorphism ?
36. What is upcasting ?
37. What is down Casting ?
38. What is Encapsulation ?
39. What is polymorphism ?
40. What is interface ?
41. What is generalization ?
42. What is abstract class?
43. What is abstract method?
44. Can we create constructor in interface ?
45. which keyword we should use to inherit interface to interf
46. which keyword we should use to inherit class to interface
47. which keyword we should use to inherit interface to class
48. which keyword we should use to inherit class to class ?
49. Can we Create Object for Interface ?
50. Can we Create Object for Abstract class ?
51. What is String ?
52. What is array?
53. What is Access Specifier? Types ?
54. Can we declare Constructor as Private ?
55. Can we Declare class as Private ?
56. What are The class Level Access Specifiers in Java ?
57. Can we Override Private Methods ?
58. Can we Inherit Private Methods ?
59. Can we reduced visibility of Overridden methods?
60. What is Wrapper class ?and What is Advantage ?
61. What is Boxing ?
62. What is Unboxing?
63. What is Exception handling ?
64. What is try and catch block ?
65. Can we Declare Multiple try block and Single Catch Bl
66. Can we Declare nested try catch block ??
67. What is The Use of finally block ?
68. What is User Defined Exception and What is use ?
69. What is Print Stack Method?
70. What is Get Message Method ?
71. What is Collection ?
72. What is Set?
73. What is Array List ?
74. What is LinkedList ?
75. What is HashSet?
76. What is LinkedHashSet?
77. What is Tree Set?
78. What is map?
79. What is HashMap?
80. What is Linked HashMap?
81. What is Tree Map?
82. What is Thread?
83. What is Multithreading?
84. What is Serialization and De Serialization?
85. What is transient Keyword ?
86. What is Functional Interface ?
87. What is StreamApi?
88. What is Lambda Expression ?
89. What is Enum ?
90. What is File Handling ?
91. What is Byte-oriented Stream ?
92. What is Character-oriented Stream ?
93. List out Types of Byte -oriented Stream ?
94. What is Predicate ?
95. What is Consumer ?
96. What is Function ?
97. What is Supplier ?
98. How to Print Current Date In Java ?
99. How to Print Current Day In Java?
100. How to Print Time in Java ?
and Do-while loop ? Explain With an Example ?