200+ Java programming interview questions

Code with C | Programming: Projects & Source Codes Forums JAVA Programming 200+ Java programming interview questions

This topic contains 0 replies, has 1 voice, and was last updated by  RenaldoL25 1 year, 9 months ago.

  • Author
    Posts
  • #12484

    RenaldoL25
    Member

    List of 200+ Java programming interview questions

    1. How to reverse Singly Linked List?
    2. Find out duplicate number between 1 to N numbers.
    3. Find out middle index where sum of both ends are equal.
    4. Write a singleton class.
    5. Write a program to create deadlock between two threads.
    6. Write a program to reverse a string using recursive algorithm.
    7. Write a program to reverse a number.
    8. Write a program to convert decimal number to binary format.
    9. Write a program to find perfect number or not.
    10. Write a program to implement ArrayList.
    11. Write a program to find maximum repeated words from a file.
    12. Write a program to find out duplicate characters in a string.
    13. Write a program to find top two maximum numbers in a array.
    14. Write a program to sort a map by value.
    15. Write a program to find common elements between two arrays.
    16. How to swap two numbers without using temporary variable?
    17. Write a program to print fibonacci series.
    18. Write a program to find sum of each digit in the given number using recursion.
    19. Write a program to check the given number is a prime number or not?
    20. Write a program to find the given number is Armstrong number or not?
    21. Write a program to convert binary to decimal number.
    22. Write a program to check the given number is binary number or not?
    23. Write a program for Bubble Sort in java.
    24. Write a program for Insertion Sort in java.
    25. Write a program to implement hashcode and equals.
    26. How to get distinct elements from an array by avoiding duplicate elements?
    27. Write a program to get distinct word list from the given file.
    28. Write a program to get a line with max word count from the given file.
    29. Write a program to convert string to number without using Integer.parseInt() method.
    30. Write a program to find two lines with max characters in descending order.
    31. Write a program to find the sum of the first 1000 prime numbers.
    32. Find longest substring without repeating characters.
    33. Write a program to remove duplicates from sorted array.
    34. How to sort a Stack using a temporary Stack?
    35. Print prime numbers?
    36. Basic Java program to find area and perimeter of circle
    37. Print 1 to 10 without using loops
    38. Print numbers in pyramid shape?
    39. Add 2 Matrices
    40. Basic Java Example Program to check even or add
    41. What happens if we place return statement in try catch blocks
    42. Print prime numbers?
    43. Print semicolon without using semicolon in java
    44. Remove whitespace from string javascript
    45. Java xor operator with example programs
    46. Benefits of arraylist in java over arrays
    47. Format text using printf() method in java
    48. How to Sort list of objects by multiple fields in java
    49. Java example program to round double to 2 decimal places
    50. Java program to Convert arraylist to array
    51. Finalize() method in java with example program
    52. 5 Different ways to print arrays in java
    53. Hibernate Criteria Query Language (HCQL)
    54. How to format text using printf() method in java
    55. Final method in java with example program
    56. Java mutliple choice questions with answers on constructors
    57. What are the advantages and disadvantages of Hibernate over JDBC
    58. How to generate unique random numbers in java
    59. Java mcq with answers on this keyword
    60. Quicksort algorithm in java with example program
    61. Implementation of selection sort algorithm in java with Example program
    62. Tower of hanoi recursive solution using Java
    63. Creating array of objects in java example program
    64. Finding Factorial of a Number in Java
    65. Print Pascals triangle in java program
    66. Deep copy vs Shallow copy
    67. 8 different ways to convert int to String in java
    68. Find top two maximum numbers in a array java
    69. Exception handling in method overriding
    70. How to run jsp program in eclipse using tomcat
    71. Java interface programming questions
    72. Java program to remove vowels from string java
    73. Java programming interview questions and answers for experienced
    74. Java Program to reverse vowels in a string
    75. Super keyword java programs for interview for freshers and experienced
    76. Java programming interview questions on this keyword part 1
    77. Super keyword in java inheritance
    78. Java programming interview questions on this keyword part 2
    79. Java programs on this keyword part 3
    80. Servlets interview questions
    81. Find shortest palindrome string
    82. Validate email using javascript
    83. Java XML parsing using DOM Parser
    84. Dynamic polymorphism in Java
    85. Find missing numbers in an array
    86. Collection vs Collections
    87. Custom iterator in java
    88. Unreachable Blocks in java
    89. Get table cell data using JavaScript
    90. Enum in java
    91. 3 different ways to print exception message in java
    92. Can we have try without catch block in java
    93. toString() method in java with example program
    94. Remove duplicates from arraylist without using collections
    95. Explain Hibernate Configuration file
    96. What happens if we place return statement in try catch blocks
    97. Write a java program to convert binary to decimal
    98. Java interview questions on exception handling
    99. Java Program to convert Decimal to Binary
    100. Is it possible to print message without using System.out.println()
    101. Java program to restrict a class from creating not more than three objects
    102. Java basic interview programs on this keyword
    103. Java Program to Sort elements of Java ArrayList Example
    104. Interfaces allows constructors?
    105. Can we create static constructor in java
    106. Super keyword interview questions java
    107. Java interview questions on final keyword
    108. Can we create private constructor in java
    109. Java Program Find Second highest number in an integer array
    110. Java interview programming questions on interfaces
    111. Top 15 abstract class interview questions
    112. Java interview Questions on main() method
    113. Sort employee object by id in descending order using comparable and TreesSet
    114. Top 20 collection framework interview Questions
    115. Java Interview Program to find smallest and second smallest number in an array
    116. Java Coding Interview programming Questions : Java Test on HashMap
    117. Explain java data types with example programs
    118. How to check internet connection using java
    119. Constructor chaining in java with example programs
    120. Top 10 Interview Programs and questions on method overriding in java
    121. Swap two numbers without using third variable in java
    122. Find sum of digits in java
    123. How to create immutable class in java
    124. AtomicInteger in java
    125. Check Even or Odd without using modulus and division
    126. String Reverse Without using String API
    127. Find Biggest substring in between specified character
    128. Check string is palindrome or not?
    129. Reverse a number in java?
    130. Fibonacci series with Recursive?
    131. Fibonacci series without using Recursive?
    132. Sort the String using string API?
    133. Sort the String without using String API?
    134. what is the difference between method overloading and method overriding?
    135. How to find largest element in an array with index and value ?
    136. Sort integer array using bubble sort in java?
    137. Object Cloning in java example?
    138. Method Overriding in java?
    139. Program for create Singleton class?
    140. Print numbers in pyramid shape?
    141. Check armstrong number or not?
    142. Producer Consumer Problem?
    143. Remove duplicate elements from an array
    144. Convert Byte Array to String
    145. Print 1 to 10 without using loops
    146. Add 2 Matrices
    147. Multiply 2 Matrices
    148. How to Add elements to hash map and Display
    149. Sort ArrayList in descending order
    150. Sort Object Using Comparator
    151. Count Number of Occurrences of character in a String
    152. Can we Overload static methods in java
    153. Can we Override static methods in java
    154. Can we call super class static methods from sub class
    155. Explain return type in java
    156. Can we call Sub class methods using super class object?
    157. Can we Override private methods ?
    158. Basic Programming Questions to Practice : Test your Skill
    159. Java programming interview questions on collections
    160. Write a java program to convert binary to decimal
    161. Java Program to convert Decimal to Binary
    162. Interfaces allows constructors?
    163. Can we create private constructor in java
    164. Java interview Questions on main() method
    165. Explain java data types with example programs
    166. Swap two numbers without using third variable in java
    167. Find sum of digits in java
    168. Check Even or Odd without using modulus and division
    169. String Reverse Without using String API
    170. Check string is palindrome or not?
    171. Reverse a number in java?

You must be logged in to reply to this topic.