Articles by Mohammad Irfan

Scala Howto's

  1. Companion Objects in Scala
  2. How to Add Elements to a Map in Scala
  3. How to Get the Current Timestamp in Scala
  4. Sealed Traits in Scala
  5. How to Getting List Elements in Scala
  6. How to Find a Substring of String in Scala
  7. How to Sort a List in Scala
  8. Difference Between && and & Operators in Scala
  9. How to Fill an Array in Scala
  10. How to Format Strings in Scala
  11. The andThen Function in Scala
  12. The break Statement in Scala
  13. The main() Method in Scala
  14. The Underscore Placeholder in Scala
  15. How to Check Scala Version in Scala
  16. How to Exit From Scala Shell
  17. Difference Between Object and Class in Scala
  18. How to Create a List in Scala
  19. How to Return a Value in Scala
  20. The apply() Function in Scala
  21. The foreach Loop in Scala
  22. try...catch in Scala

Java Howtos

  1. How to Create Timer in JavaFx
  2. Associative Array in Java
  3. How to Override the CompareTo Method in Java
  4. Null and Empty String in Java
  5. Static Block in Java
  6. varargs in Java
  7. BiFunction Interface in Java
  8. Double in Java
  9. How to Convert ArrayList to Set in Java
  10. Method to Calculate Factorial in Java
  11. Parameters vs Arguments in Java
  12. The Stream Reduce Operation in Java
  13. What is Predicate in Java
  14. What is the /= Operator in Java
  15. How to Check Java version
  16. Array Passed By Value or Passed By Reference in Java
  17. How to Set JAVA_HOME Variable in Java
  18. What is Reflection in Java
  19. flatMap in Java
  20. How to Convert Stream to List in Java
  21. How to Get Unicode Characters from its Number in Java
  22. How to Ignore Upper Case and Lower Case in Java
  23. Fix the Reach End of File While Parsing Error in Java
  24. How to Convert String to LocalDate in Java
  25. How to Fix the Bad Operand Types Error in Java
  26. How to Fix the Could Not Find or Load Main Class Error in Java
  27. Stream Filter in Java
  28. How to Fix the NoSuchElementException Error in Java
  29. How to Print Boolean Value Using the printf() Method in Java
  30. How to Sort a List Alphabetically in Java
  31. console.log in Java
  32. How to Compare Java Enum Using == or equals() Method in Java
  33. How to Return Nothing From a Function in Java
  34. How to Use the System.exit() Method in Java
  35. Runnable VS Callable Interface in Java
  36. How to Cast Variables in Java
  37. How to Read Input from System.in in Java
  38. How to StringUtils in Java
  39. The *= Operator in Java
  40. The Max Value of an Integer in Java
  41. How to Check if String Contains a Case Insensitive Substring in Java
  42. Servlet in Java
  43. How to Compile Multiple Java Files Using a Single Command in Java
  44. How to Get the Square of a Double Value in Java
  45. Minimum and Maximum Value of Integer in Java
  46. The %= Operator in Java
  47. Unhandled Exception in Java
  48. Char vs String in Java
  49. ConcurrentHashMap vs Hashtable in Java
  50. How to Add Objects to an Array in Java
  51. How to Create swing timer in Java
  52. List of Ints in Java
  53. Transient in Java
  54. Virtual Function in Java
  55. Checked and Unchecked Exceptions in Java
  56. How to Convert Integer to Int in Java
  57. How to Replace a Backslash With a Double Backslash in Java
  58. The Difference Between ArrayList and LinkedList in Java
  59. The Difference Between the != and =! Operator in Java
  60. How to Convert Int to ASCII in Java
  61. How to Convert Int to Byte in Java
  62. How to Convert Long to Double in Java
  63. How to Initialize Char in Java
  64. Phone Number Data Type in Java
  65. What Is Monitor in Java
  66. base64.decode in Java
  67. How to Check if Java is 64 bit or 32 bit
  68. How to Convert JSON to Java object
  69. How to Convert JSON to XML in Java
  70. How to Double max value in Java
  71. How to Start a new thread in Java
  72. How to Check Empty String in Java
  73. How to Convert Int to Integer in Java
  74. How to Represent Empty Char in Java
  75. The Char equals Method in Java
  76. The Repaint() Method in Java
  77. What Is a Driver Class in Java
  78. How to Implement Multiple Interfaces in Java
  79. How to Initialize an Array in Constructor in Java
  80. How to Make a Java File Executable
  81. What Is Java Bean
  82. How to Create Map in Java
  83. Java typeof Operator
  84. The Arrow Operator -> in Java
  85. Difference Between an Interface and an Abstract Class in Java
  86. How to Get ArrayList of Int Array in Java
  87. How to Get Character in String by Index in Java
  88. How to Obfuscate Java Codes
  89. How to Print Objects in Java
  90. How to Set Classpath in Java
  91. How to Use KeyListener in Java
  92. Java system.out.println() Method
  93. How to Add a Background Image in JavaFX
  94. How to Convert String to ArrayList in Java
  95. How to Get the First Character of a String in Java
  96. How to Get the Last Element From an ArrayList in Java
  97. How to Get the User's Home Directory in Java
  98. How to Overload a Constructor in Java
  99. The Difference Between Size and Length in Java
  100. The Difference Between Static and Dynamic Binding in Java
  101. How to Append Text to a Text File in Java
  102. How to Convert Double to String in Java
  103. How to Extend Two Classes in Java
  104. How to Increase an Array Size in Java
  105. How to Pass an Array to a Method in Java
  106. How to Sort a String Array Alphabetically in Java
  107. The XOR Operator in Java
  108. How to Access a Variable From Another Class in Java
  109. How to Break Nested Loops in Java
  110. How to Convert Boolean to Int in Java
  111. How to Convert String Array Into Int Array in Java
  112. How to Get the Sum of an Array in Java
  113. How to Initialize All Array Elements to Zero in Java
  114. How to Resize an Array While Keeping the Current Elements in Java
  115. How to Clear an Array in Java
  116. How to Connect a MySQL Database in Java
  117. How to Exit a While Loop in Java
  118. How to Get a Keyboard Input in Java
  119. How to Pass a Method as a Parameter in Java
  120. How to Rename a File in Java
  121. What Is a Null Pointer Exception in Java
  122. args Parameter in Java
  123. Difference Between Hashmap and Map in Java
  124. Difference Between Hashtable and Hashmap in Java
  125. How to Compare Two Integers in Java
  126. How to Create An Empty Array in Java
  127. How to Import Custom Class in Java
  128. Java Default Parameters
  129. Daemon Thread in Java
  130. How to Convert Float to String and String to Float in Java
  131. How to Convert Object to String in Java
  132. How to Format Double Value in Java
  133. How to Implement Key Value Pair in Java
  134. How to Read XML File in Java
  135. How to Split a String by Space in Java
  136. Difference Between i++ and ++i Operators in Java
  137. How to Convert Double to Int in Java
  138. How to Create Global Variable in Java
  139. How to Generate Random Number Within a Specified Range in Java
  140. How to Get Current TimeStamp in Java Date
  141. How to Iterate Through List in Java
  142. Question Mark and Colon in Java
  143. Relative Path in Java
  144. How to Check if an Array Contains Int in Java
  145. How to Convert Char Array to Int in Java
  146. How to Convert Inputstream to Byte Array in Java
  147. How to Get Char Array's Length in Java
  148. How to Do Power in Java
  149. How to Do String Interpolation in Java
  150. How to Call a Method in Another Class in Java
  151. How to Get the File Extension of a File in Java
  152. How to Get the Current Working Directory in Java
  153. How to Iterate Through HashMap in Java
  154. How to Sort a Map by Value in Java
  155. How to Delay Few Seconds in Java
  156. How to Reverse a String in Java
  157. How to Sort Array Elements in Java
  158. How to Read All Files of a Folder in Java
  159. How to Convert an Arraylist to a String in Java
  160. How to Print a Float With 2 Decimal Places in Java
  161. How to Remove the Last Character From the String in Java
  162. How to Convert a String to an Int in Java
  163. How to Convert Date to String in Java
  164. How to Print HashMap in Java
  165. How to Remove Punctuation From String in Java
  166. How to Iterate Over Each Element of Map in Java
  167. How to Remove Whitespace From String in Java
  168. How to Check Whether a String Contains a Substring in Java
  169. How to Check if a String Is a Number in Java
  170. How to Check Whether an Array Is Null/Empty in Java