1.
Explain in short what is Oops concepts - (Inheritance, encapsulation, abstraction, and
polymorphism)
2. What is this and super keyword in java
3. What is Encapsulation? How to achieve it? Where it is use in your framework?
4. Difference between interface and abstract
5. What is difference between Final, Finally, Finalize?
6. Where you used oops concept in your project?
7. Can I create the object of abstract class or interface?
8. Can I implement method body inside the interface?
9. Can I overload static method?
10. Why we can not override the static method what is the reason behind this?
11. Exception handling in the java
12. Program – palindrome string?
13. What is compile time polymorphism?
14. What is final keyword? Where it is used?
15. Explain constructor in detail?
16. Java program for odd even number?
17. Java program for reverse the string?
18. What is array?
19. What is difference between method overloading and overriding?
20. Difference between Abstract class and Interface
21. Can we overload main method?
22. Which method cannot override - Final, Private, Static
23. Can we override the abstract method?
24. Abstract class must have only abstract methods. True or false?
25. Is it compulsory for a class which declared as abstract to have at least one abstract method?
26. Can we use abstract keyword with constructor?
27. Can we declare the abstract method as private?
28. Write a Java program to find the duplicate words in the sentence?
29. What are the differences between the throw and throws keywords in Java?
30. What is difference between static method and non-static method?
31. What is polymorphism in Java?
32. How to achieve compile time and run time polymorphism?
33. Can we overload main method?
34. What are different types of inheritance in java?
35. Write a Java program to remove all white spaces from a string
36. Why multiple Inheritance is not supported in java?
37. Why Inheritance is used by java programmers?
38. What is Arraylist?
39. What is difference between Abstraction and encapsulation?
40. How do you handle multiple exceptions in Java?
41. What is difference between Inheritance and polymorphism?
42. What is the super class for all the classes?
43. Can we declare the abstract method as static?
44. Can an interface extend a class?
45. Can we re-assign a value to a field of interface?
46. Can we put static method in interface?
47. What is difference between while loop and do while loop?
48. What is difference between break and continue?
49. What Are the Main Features of OOPs?
50. What are access modifiers and when should we use this?
51. What is multidimensional array?
52. Find the maximum element in the array?
53. Find the duplicate element in the array?
54. Can we overload the constructor?
55. Explain public static void main(String args[]) in Java.
56. What will happen if we don’t declare the main as static?
57. Explain the Java architecture?
58. What do you understand by the jagged array?
59. What is the purpose of a default constructor?
60. What are the differences between the constructors and methods?
61. What are the features of the Interface?
62. Can a program be executed without using the main() method?
63. Can we override the overloaded method?
64. Write a program to find a missing number in an array with 1-10?
65. Write a program to print the array in reverse order?
66. Write a program to print all the even numbers in an array.?
67. What is the difference between Array list and vector in Java?
68. What is the difference between equals() and == in Java?
69. What is the difference between an array and an array list?
70. What is the difference between JDK, JRE, and JVM?
71. What is exception handling?
72. Is it possible to call a constructor inside another constructor of the same class?
73. Reverse the words in the given string?
74. Swap two number without using third variable?
75. Find the largest of three numbers?
76. Program Count the sum of digit in numbers?
77. Check the number is prime or not?
78. Separate number and character in the string?
79. Differentiate between ArrayList and LinkedList?
80. Explain the difference between public, private, and protected access modifiers.
81. What is typecasting in Java?
82. What are getters and setters in Java?