Nidhi

Technical Content Writer @ IncludeHelp

Nidhi

Her submissions

  1. C# Methods Aptitude Questions and Answers
  2. C# Constructors and Destructors Aptitude Questions and Answers
  3. C# | Uri.GetHashCode() Method with Example
  4. C# | Uri.GetLeftPart() Method with Example
  5. C# | Uri.GetType() Method with Example
  6. C# | Uri.IsHexEncoding() Method with Example
  7. C# | Uri.HexEscape() Method with Example
  8. C# | Uri.HexUnescape() Method with Example
  9. C# | Uri.IsBaseOf() Method with Example
  10. C# | Uri.MakeRelativeUri() Method with Example
  11. C# | Uri.IsWellFormedOriginalString() Method with Example
  12. C# | Uri.TryCreate() Method with Example
  13. C# | Uri.Equality() Operator with Example
  14. C# | Uri.Inequality() Operator with Example
  15. C# | Uri.ReferenceEquals() Method with Example
  16. C# | Uri.CheckHostName() Method with Example
  17. C# | Uri.CheckSchemeName() Method with Example
  18. C# | Uri.Equals() Method with Example
  19. C# | Uri.EscapeUriString() Method with Example
  20. C# | Uri.IsHexDigit() Method with Example
  21. C# | Uri.FromHex() Method with Example
  22. C# | Uri.DnsSafeHost Property with Example
  23. C# | Uri.Fragment Property with Example
  24. C# | Uri.Host Property with Example
  25. C# | Uri.HostNameType Property with Example
  26. C# | Uri.IsAbsoluteUri Property with Example
  27. C# | Uri.IsDefaultPort Property with Example
  28. C# | Uri.IsFile Property with Example
  29. C# | Uri.IsLoopback Property with Example
  30. C# Arrays Aptitude Questions and Answers | Set 1
  31. C# Arrays Aptitude Questions and Answers | Set 2
  32. C# Arrays Aptitude Questions and Answers | Set 3
  33. C# Arrays Aptitude Questions and Answers | Set 4
  34. C# Arrays Aptitude Questions and Answers | Set 5
  35. C# Enumeration Aptitude Questions and Answers | Set 1
  36. C# Enumeration Aptitude Questions and Answers | Set 2
  37. C# Enumeration Aptitude Questions and Answers | Set 3
  38. C# Enumeration Aptitude Questions and Answers | Set 4
  39. C# Enumeration Aptitude Questions and Answers | Set 5
  40. C# Strings Aptitude Questions and Answers | Set 1
  41. C# Strings Aptitude Questions and Answers | Set 2
  42. C# Strings Aptitude Questions and Answers | Set 3
  43. C# Strings Aptitude Questions and Answers | Set 4
  44. C# Strings Aptitude Questions and Answers | Set 5
  45. C# Namespace Aptitude Questions and Answers | Set 1
  46. C# Namespace Aptitude Questions and Answers | Set 2
  47. C# Namespace Aptitude Questions and Answers | Set 3
  48. C# Namespace Aptitude Questions and Answers | Set 4
  49. C# Namespace Aptitude Questions and Answers | Set 5
  50. C# Structures Aptitude Questions and Answers | Set 1
  51. C# Structures Aptitude Questions and Answers | Set 2
  52. C# Structures Aptitude Questions and Answers | Set 3
  53. C# Structures Aptitude Questions and Answers | Set 4
  54. C# Structures Aptitude Questions and Answers | Set 5
  55. C# Properties Aptitude Questions and Answers | Set 1
  56. C# Properties Aptitude Questions and Answers | Set 2
  57. C# Properties Aptitude Questions and Answers | Set 3
  58. C# Properties Aptitude Questions and Answers | Set 4
  59. C# Properties Aptitude Questions and Answers | Set 5
  60. C# Class & Object Aptitude Questions and Answers | Set 1
  61. C# Class & Object Aptitude Questions and Answers | Set 2
  62. C# Class & Object Aptitude Questions and Answers | Set 3
  63. C# Class & Object Aptitude Questions and Answers | Set 4
  64. C# Class & Object Aptitude Questions and Answers | Set 5
  65. C# Inheritance Aptitude Questions and Answers | Set 1
  66. C# Inheritance Aptitude Questions and Answers | Set 2
  67. C# Inheritance Aptitude Questions and Answers | Set 3
  68. C# Inheritance Aptitude Questions and Answers | Set 4
  69. C# Inheritance Aptitude Questions and Answers | Set 5
  70. C# Exception Handling Aptitude Questions and Answers | Set 1
  71. C# Exception Handling Aptitude Questions and Answers | Set 2
  72. C# Exception Handling Aptitude Questions and Answers | Set 3
  73. C# Exception Handling Aptitude Questions and Answers | Set 4
  74. C# Exception Handling Aptitude Questions and Answers | Set 5
  75. Networking | Basics Aptitude Questions and Answers | Set 1
  76. Networking | Basics Aptitude Questions and Answers | Set 2
  77. Networking | Basics Aptitude Questions and Answers | Set 3
  78. Networking | Basics Aptitude Questions and Answers | Set 4
  79. Networking | Basics Aptitude Questions and Answers | Set 5
  80. Networking | Internetworking Aptitude Questions and Answers | Set 1
  81. Networking | Internetworking Aptitude Questions and Answers | Set 2
  82. Networking | Internetworking Aptitude Questions and Answers | Set 3
  83. Networking | Internetworking Aptitude Questions and Answers | Set 4
  84. Networking | Internetworking Aptitude Questions and Answers | Set 5
  85. Networking | WWW Aptitude Questions and Answers
  86. Networking | TLS Aptitude Questions and Answers
  87. Networking | UDP Aptitude Questions and Answers
  88. Networking | Network protocols Full Forms Aptitude Questions and Answers
  89. Networking | Useful Full Forms Aptitude Questions and Answers
  90. Networking | ARP Aptitude Questions and Answers
  91. Networking | FTP Aptitude Questions and Answers
  92. Networking | GPRS Aptitude Questions and Answers
  93. Networking | HTTP Aptitude Questions and Answers
  94. Networking | HTTPS and SSL Aptitude Questions and Answers
  95. Networking | URL Aptitude Questions and Answers
  96. Networking | Email & Email Protocols Aptitude Questions and Answers
  97. Networking | VPN Aptitude Questions and Answers
  98. Networking | WiFi Aptitude Questions and Answers
  99. Networking | VLAN Aptitude Questions and Answers
  100. Networking | NFS Aptitude Questions and Answers
  101. Networking | Remote Login & Protocols Aptitude Questions and Answers
  102. Networking | Default Port Aptitude Questions and Answers
  103. Networking | Topologies Aptitude Questions and Answers
  104. Networking | OSI Model Aptitude Questions and Answers | Set 1
  105. Networking | OSI Model Aptitude Questions and Answers | Set 2
  106. Networking | OSI Model Aptitude Questions and Answers | Set 3
  107. Networking | OSI Model Aptitude Questions and Answers | Set 4
  108. Networking | OSI Model Aptitude Questions and Answers | Set 5
  109. Linux Basics Aptitude Questions and Answers
  110. Linux Environment Variables Aptitude Questions
  111. Linux Directory Commands Aptitude Questions and Answers
  112. Linux Admin Commands Aptitude Questions and Answers
  113. Linux Utility Commands Aptitude Questions and Answers
  114. Linux Filter Commands Aptitude Questions and Answers
  115. Linux AWK Aptitude Questions and Answers
  116. Linux Filesystem Hierarchy Aptitude Questions and Answers
  117. Linux File Permissions Commands Aptitude Questions and Answers
  118. Linux Shell Commands Aptitude Questions and Answers
  119. Linux Network Commands Aptitude Questions and Answers
  120. Linux File Commands Aptitude Questions and Answers
  121. Linux User and Group Commands Aptitude Questions and Answers
  122. Linux VI Editor Aptitude Questions and Answers
  123. Linux Regular Expressions Aptitude Questions and Answers
  124. Linux Commands (Mixed) Aptitude Questions and Answers
  125. PHP Basics Aptitude Questions and Answers
  126. PHP Data Types Aptitude Questions and Answers
  127. PHP Operators Aptitude Questions and Answers
  128. PHP Constants Aptitude Questions and Answers
  129. PHP Numbers Aptitude Questions and Answers
  130. PHP Conditional Statements Aptitude Questions and Answers
  131. PHP Superglobals Aptitude Questions and Answers
  132. PHP JSON Aptitude Questions and Answers
  133. PHP Looping Statements Aptitude Questions and Answers
  134. PHP Class Constants Aptitude Questions and Answers
  135. PHP OOPs Concept Aptitude Questions and Answers
  136. PHP Cookies Aptitude Questions and Answers
  137. PHP Sessions Aptitude Questions and Answers
  138. PHP Recursion Aptitude Questions and Answers
  139. PHP Magic Constants Aptitude Questions and Answers
  140. PHP Static Keyword Aptitude Questions and Answers
  141. PHP Math Functions Aptitude Questions and Answers
  142. PHP Arrays Aptitude Questions and Answers
  143. PHP File Handling Aptitude Questions and Answers
  144. PHP Constructors & Destructors Aptitude Questions and Answers

C/C++

  1. C++ Operators | Find output programs | Set 1
  2. C++ Operators | Find output programs | Set 2
  3. C++ Conditional Statements | Find output programs | Set 1
  4. C++ Conditional Statements | Find output programs | Set 2
  5. C++ Switch Statements | Find output programs | Set 1
  6. C++ Switch Statements | Find output programs | Set 2
  7. C++ goto Statement | Find output programs | Set 1
  8. C++ goto Statement | Find output programs | Set 2
  9. C++ const Keyword | Find output programs | Set 1
  10. C++ const Keyword | Find output programs | Set 2
  11. C++ Looping | Find output programs | Set 1
  12. C++ Looping | Find output programs | Set 2
  13. C++ Looping | Find output programs | Set 3
  14. C++ Looping | Find output programs | Set 4
  15. C++ Looping | Find output programs | Set 5
  16. C++ Reference Variable| Find output programs | Set 1
  17. C++ Reference Variable| Find output programs | Set 2
  18. C++ Default Argument | Find output programs | Set 1
  19. C++ Default Argument | Find output programs | Set 2
  20. C++ Arrays | Find output programs | Set 1
  21. C++ Arrays | Find output programs | Set 2
  22. C++ Arrays | Find output programs | Set 3
  23. C++ Arrays | Find output programs | Set 4
  24. C++ Arrays | Find output programs | Set 5
  25. C++ Class and Objects | Find output programs | Set 1
  26. C++ Class and Objects | Find output programs | Set 2
  27. C++ Class and Objects | Find output programs | Set 3
  28. C++ Class and Objects | Find output programs | Set 4
  29. C++ Class and Objects | Find output programs | Set 5
  30. C++ Constructor and Destructor | Find output programs | Set 1
  31. C++ Constructor and Destructor | Find output programs | Set 2
  32. C++ Constructor and Destructor | Find output programs | Set 3
  33. C++ Constructor and Destructor | Find output programs | Set 4
  34. C++ Constructor and Destructor | Find output programs | Set 5
  35. C++ this Pointer | Find output programs | Set 1
  36. C++ this Pointer | Find output programs | Set 2
  37. C++ this Pointer | Find output programs | Set 3
  38. C++ Structures | Find output programs | Set 1
  39. C++ Structures | Find output programs | Set 2
  40. C++ Structures | Find output programs | Set 3
  41. C++ Structures | Find output programs | Set 4
  42. C++ Structures | Find output programs | Set 5
  43. C++ Friend Function | Find output programs | Set 1
  44. C++ Friend Function | Find output programs | Set 2
  45. C++ Function Overloading | Find output programs | Set 1
  46. C++ Function Overloading | Find output programs | Set 2
  47. C++ Function Overloading | Find output programs | Set 3
  48. C++ Static Variables and Functions | Find output programs | Set 1
  49. C++ Static Variables and Functions | Find output programs | Set 2
  50. C++ Static Variables and Functions | Find output programs | Set 3
  51. C++ Static Variables and Functions | Find output programs | Set 4
  52. C++ Static Variables and Functions | Find output programs | Set 5
  53. C++ Operator Overloading | Find output programs | Set 1
  54. C++ Operator Overloading | Find output programs | Set 2
  55. C++ Operator Overloading | Find output programs | Set 3
  56. C++ Operator Overloading | Find output programs | Set 4
  57. C++ Operator Overloading | Find output programs | Set 5
  58. C++ Enumeration | Find output programs
  59. C++ Inheritance | Find output programs | Set 1
  60. C++ Inheritance | Find output programs | Set 2
  61. C++ Inheritance | Find output programs | Set 3
  62. C++ Inheritance | Find output programs | Set 4
  63. C++ Inheritance | Find output programs | Set 5
  64. C++ Manipulators | Find output programs | Set 1
  65. C++ Manipulators | Find output programs | Set 2
  66. C++ Strings | Find output programs | Set 1
  67. C++ Strings | Find output programs | Set 2
  68. C++ Strings | Find output programs | Set 3
  69. C++ Strings | Find output programs | Set 4
  70. C++ Strings | Find output programs | Set 5
  71. C++ Exceptional Handling | Find output programs | Set 1
  72. C++ Exceptional Handling | Find output programs | Set 2
  73. C++ Exceptional Handling | Find output programs | Set 3
  74. C++ Virtual Functions | Find output programs | Set 1
  75. C++ Virtual Functions | Find output programs | Set 2
  76. C++ Virtual Functions | Find output programs | Set 3
  77. C++ Templates | Find output programs | Set 1
  78. C++ Templates | Find output programs | Set 2
  79. C++ Preprocessor | Find output programs | Set 1
  80. C++ Preprocessor | Find output programs | Set 2
  81. C++ Preprocessor | Find output programs | Set 3
  82. C++ Signal Handling | Find output programs | Set 1
  83. C++ Namespace | Find output programs | Set 1
  84. C++ Namespace | Find output programs | Set 2
  85. C++ Dynamic Memory Allocation| Find output programs | Set 1
  86. C++ Dynamic Memory Allocation | Find output programs | Set 2
  87. C++ Dynamic Memory Allocation | Find output programs | Set 3
  88. C program to get SQLite version in Linux
  89. C program to get SQLite version using 'SELECT' statement in Linux
  90. C program to create SQLite database dynamically in Linux
  91. C program to create database table dynamically in SQLite
  92. C program to drop a database table dynamically in SQLite
  93. C program to insert data into a database table in SQLite
  94. C program to delete records from a database table in SQLite
  95. C program to get records from a database table in SQLite
  96. C program to get the last row id of a database table in SQLite
  97. C program to get record from a database table using parameterized SELECT query in SQLite
  98. C program to insert an image data into SQLite table
  99. C program to get MySQL client version in Linux
  100. C program to create MySQL database dynamically in Linux
  101. C program to create a table in MySQL database dynamically in Linux
  102. C program to drop a table in MySQL database dynamically in Linux
  103. C program to insert data into a table in MySQL database in Linux
  104. C program to get records from the MySQL database table in Linux
  105. C program to get MySQL version using SELECT statement in Linux
  106. C program to print the last insertion row id of the MySQL table in Linux
  107. C program to get the column names of the MySQL data table in Linux
  108. C program to convert a binary number to an octal number
  109. C program to convert an octal number into a binary number
  110. C program to convert a hexadecimal number into a binary number
  111. C program to convert a binary number to a hexadecimal number
  112. C program to convert a decimal number to a roman number
  113. C program to convert a roman number to a corresponding decimal number
  114. C program to convert a Decimal number to Binary using Recursion
  115. C program to convert a Binary number to Gray Code
  116. C program to convert a Binary number to Gray Code using Recursion
  117. C program to reverse an integer number using recursion
  118. C program to check a given number is prime or not using recursion
  119. C program to calculate the product of two numbers using recursion
  120. C program to calculate the sum of array elements using pointers as an argument
  121. C program to add two dynamic arrays
  122. C program to find the sum of the largest contiguous subarray
  123. C program to split an array and add the first half after the second half of the array
  124. C program to generate pascal triangle using the array
  125. C program to access array element out of bounds
  126. C program to print alternate elements of the array
  127. C program to print the non-repeated elements of an array
  128. C program to find the total of non-repeated elements of an array
  129. C program to find the missing number in the array
  130. C program to find the difference between the largest and smallest element in the array
  131. C program to print the square of array elements
  132. C program to find the missing number in the array using the bitwise XOR operator
  133. C program to find two elements whose sum is closest to zero
  134. C program to check a given number appears more than N/2 times in a sorted array of N integers
  135. C program to find the median of two sorted arrays with same using simple merge-based O(n) solution
  136. C program to find the median of two arrays using a divide and conquer-based efficient solution
  137. C program to find the intersection of two arrays
  138. C program to find the union of two arrays
  139. C program to find the size of the array using macro
  140. C program to find the ceiling element of the given number in the sorted array
  141. C program to find the floor element of the given number in the sorted array
  142. C program for matrix multiplication using recursion
  143. C program to check two matrices are identical or not
  144. C program to check a given matrix is an identity matrix or not
  145. C program to check a given matrix is a sparse matrix or not
  146. C program to interchange the rows in the matrix
  147. C program to interchange the columns in the matrix
  148. C program to arrange row elements in ascending order
  149. C program to arrange column elements in ascending order
  150. C program to find the frequency of even numbers in matrix
  151. C program to find the sum of main and opposite diagonal elements of a matrix
  152. C program to find the normal of a matrix
  153. C program to find the trace of matrix
  154. C program to print the upper triangular matrix
  155. C program to check a string is palindrome or not without using library function
  156. C program to check a string is palindrome or not using recursion
  157. C program to print the biggest and smallest palindrome words in a string
  158. C program to print the smallest word in a string
  159. C program to print the biggest word in a string
  160. C program to reverse a string using recursion
  161. C program to reverse every word of the given string
  162. C program to remove a given word from the string
  163. C program to delete duplicate words in the string
  164. C program to sort strings in alphabetical order
  165. C program to check a given character is alphanumeric or not without using the library function
  166. C program to check a given character is a digit or not without using the library function
  167. Given a character, we have to check whether the given character is a digit or not without using the library function.
  168. C program to check a given character is a whitespace character or not without using the library function
  169. C program to check a given character is an uppercase character or not without using the library function
  170. C program to check a given character is a lowercase character or not without using the library function
  171. C program to check a given character is a punctuation mark or not without using the library function
  172. C program to find the frequency of the given word in a string
  173. C program to find the sum of all digits in the alphanumeric string
  174. C program to copy a string to another string using recursion
  175. C program to find the first capital letter in a string using recursion
  176. C program to find the first capital letter in a string without using recursion
  177. C program to find the frequency of every word in the given string
  178. C program to find the highest frequency of a character in the given string
  179. C program to print all possible subsets of a given length in string
  180. C program to check two strings are anagram or not
  181. C program to find a specific word ends with a specific character in the string
  182. C program to split the string using the strtok() function
  183. C program to split the string using strtok_r() function
  184. C program to demonstrate the strstr() function
  185. C program to implement own strstr() function
  186. C program to make a beep sound
  187. C program to convert a given number of days into days, weeks, and years
  188. C program to create an integer array and store the EVEN and ODD elements in a different array
  189. C program to implement your own sizeof using macro
  190. C program to demonstrate the getopt() function
  191. C program to get the current date and time using the ctime() function
  192. C program to get the current UTC time
  193. C program to demonstrate the sleep() and usleep() functions for Linux operating system
  194. C program to demonstrate the nanosleep() function
  195. C program to demonstrate the strpbrk() function
  196. C program to implement the strpbrk() user-defined function
  197. C program to sort the words of the string
  198. C program to implement the KMP pattern search algorithm
  199. C program to check a number contain the alternative pattern of bits
  200. C program to find the next number power of 2
  201. C program to find the position of MSB bit of an unsigned integer number
  202. C program to round off an integer number to the next lower multiple of 2
  203. C program to print the range of fundamental data types using bitwise operators
  204. C program to count the number of leading zeros in a binary number
  205. C program to read a byte and print bits between given positions
  206. C program to swap two bits of a 32-bit integer number
  207. C program to check a given number is the power of 2 using bitwise operator
  208. C program to count the number of bits to be flipped to convert a number to another number
  209. C program to print bits that need to be flipped to convert a number to another number
  210. C program to find the sum of the Arithmetic Progression (A.P.) series
  211. C program to find the sum of the Geometric Progression (G.P.) series
  212. C program to find the sum of the Harmonic Progression (H.P.) series
  213. C program to delete a specified file using remove() function
  214. C program to delete a specified file using the system() function
  215. C program to remove a specified empty directory using the remove() function
  216. C program to remove an empty directory
  217. C program to remove a non-empty directory using the system() function
  218. C program to check a given filename is a directory or not
  219. C program to find the roots of a quadratic equation
  220. C program to find the GCD (Greatest Common Divisor) of two integers
  221. C program to find the LCM (Lowest Common Multiple) of two integers
  222. C program to find the HCF (Highest Common Factor) of given numbers using recursion
  223. C program to find the LCM (Lowest Common Multiple) of given numbers using recursion
  224. C program to find the GCD (Greatest Common Divisor) of given numbers using recursion
  225. C program to calculate the area of a triangle given three sides
  226. C program to calculate the area of a triangle given base and height
  227. C program to calculate the area of Trapezium
  228. C program to calculate the area of the rhombus
  229. C program to calculate the area of Parallelogram
  230. C program to calculate the area of Cube
  231. C program to calculate the volume of Cube
  232. C program to find the Surface Area and Volume of the Cylinder
  233. C program to calculate the surface area, volume, and space diagonal of cuboids
  234. C program to calculate the surface area, volume of Cone
  235. C program to calculate the surface area, volume of the Sphere
  236. C program to print Floyd's triangle
  237. C program to calculate the mean, variance, and standard deviation of real numbers
  238. C program to read coordinate points and determine its quadrant
  239. C program to calculate the value of nCr
  240. C program to calculate the value of nPr
  241. C program to remove a specific line from the text file
  242. C program to replace the specified line in an existing text file
  243. C program to append the content of one file to the end of another file
  244. C program to print the list of files of a directory
  245. C program to print the list of files and subdirectories of the current directory
  246. C program to check a specified directory exists or not
  247. C program to check a specified file exists or not
  248. C program to check a specified file exists or not using the stat() function
  249. C program to check a specified file exists or not using the access() function
  250. C program to check a specified file has read, write, and execute permission or not
  251. C program to create a directory using mkdir() function
  252. C program to create a directory using system() function
  253. C program to remove an empty directory using rmdir() function
  254. C program to rename a file using the rename() function
  255. C program to rename a file using the system() function
  256. C program to change the permissions of file using system() function
  257. C program to print the function names defined in the source code
  258. C program to print the name of the source code file
  259. C program to print the line number in source code with filename and function name
  260. C program to implement postman sort algorithm
  261. C program to implement LSD Radix sort algorithm
  262. C program to sort integer array using qsort() with a function pointer
  263. C program to sort structure items using qsort() with a function pointer
  264. C program to implement pigeonhole sort algorithm
  265. C program to implement cycle sort algorithm
  266. C program to implement Odd-even sort algorithm
  267. C program to implement cocktail sort algorithm
  268. C program to implement Bitonic sort algorithm to sort an array in ascending order
  269. C program to implement Bitonic sort algorithm to sort an array in descending order
  270. C program to implement Comb sort algorithm
  271. C program to implement Stooge sort algorithm
  272. C program to implement Pancake sort algorithm
  273. C program to implement Bogo sort algorithm
  274. C program to implement shell sort algorithm
  275. C program to search an item in the linked list
  276. C program to search an item in the linked list using recursion
  277. C program to traverse the linked list
  278. C program to traverse the linked list using recursion
  279. C program to compare two linked lists
  280. C program to check a linked list is palindrome or not
  281. C program to find the largest element in the singly linked list
  282. C program to print the even elements of the linked list
  283. C program to create Even and Odd lists from a Singly linked list
  284. C program to find the first common element from the given linked lists
  285. C program to find the middle node of the singly linked list
  286. C program to remove duplicate nodes from the singly linked list
  287. C program to print the Nth node from the last of a singly linked list
  288. C program to implement depth-first binary tree search using recursion
  289. C program to search an item in the binary tree
  290. C program to search an item in the binary tree using recursion
  291. C program to find the largest item in the binary tree
  292. C program to create a mirror of the binary tree
  293. C program to check whether a character is a printable character or not without using library function
  294. C program to convert a lowercase character into uppercase without using library function
  295. C program to convert an uppercase character into lowercase without using library function
  296. C program to print all punctuation marks without using library function
  297. C program to print all punctuation marks using the ispunct() function
  298. C program to print all printable characters using the isprint() function
  299. C program to print all printable characters without using the library function
  300. C program to implement selection sort using recursion
  301. C program to search an item in an array using recursion
  302. C program to implement binary search using recursion
  303. C program to capitalize the first letter of every word in a file
  304. C program to print all environment variables
  305. C program to calculate the product of two binary numbers
  306. C program to calculate the addition of two complex numbers
  307. C program to extract the last two digits from a given year
  308. C program to perform the ATM Transactions
  309. C program to read the height of a person and the print person is taller, dwarf, or average height person
  310. C program to read the grade of student print equivalent description
  311. C program to find the size of the union
  312. C++ cin, cout aptitude questions and answers
  313. C++ const Keyword Aptitude Questions and Answers
  314. C++ this Pointer Aptitude Questions and Answers
  315. C++ Default Arguments Aptitude Questions and Answers
  316. C++ Inline Function Aptitude Questions and Answers
  317. C++ Friend Function Aptitude Questions and Answers
  318. C++ Containers & Iterators Aptitude Questions and Answers
  319. C++ Template Aptitude Questions and Answers
  320. C++ Namespace Aptitude Questions and Answers
  321. C++ String Aptitude Questions and Answers
  322. C++ Reference Variable Aptitude Questions and Answers
  323. C++ static Keyword Aptitude Questions and Answers
  324. C++ Files & Streams Aptitude Questions and Answers
  325. C++ Exception Handling Aptitude Questions and Answers
  326. C++ Operator Overloading Aptitude Questions and Answers
  327. C++ Polymorphism & Function Overloading Aptitude Questions and Answers
  328. C++ Virtual Function Aptitude Questions and Answers
  329. C++ List Container Aptitude Questions and Answers
  330. C++ Vector Container Aptitude Questions and Answers
  331. C++ STL Deque Aptitude Questions and Answers

C# programs

  1. C# program to create a thread
  2. C# program to create a thread pool
  3. C# program to pause a thread
  4. C# program to demonstrate thread lock
  5. C# program to kill a thread
  6. C# program to print the name of the current thread
  7. C# program to demonstrate the concept of parameter passing for thread
  8. C# program to print the priority of current thread
  9. C# program to print elapsed milliseconds of stopwatch using Thread.Sleep() method
  10. C# program to assign the name to the thread
  11. C# program to compare two dates
  12. C# program to demonstrate ATM transactions
  13. C# program to generate random numbers
  14. C# program to take height as input and print its category as Dwarf, Average, and Tall
  15. C# program to count the frequency of the specified word in the given string
  16. C# program to demonstrate the example of the left-shift operator
  17. C# program to demonstrate the example of the right shift operator
  18. C# program to read the grade of students and print the appropriate description of grade
  19. C# program to calculate the size of the area in square-feet based on specified length and width
  20. C# program to demonstrate the example of a sealed class
  21. C# program to demonstrate the example of unboxing
  22. C# program to find the magnitude of an integer number
  23. C# program to find the average of array elements
  24. C# program to implement phonebook
  25. C# program to find the division of exponents of the same base
  26. C# program to demonstrate the example of single inheritance
  27. C# program to demonstrate the example of multi-level inheritance
  28. C# program to demonstrate the example of hierarchical inheritance
  29. C# program to demonstrate the example of multilevel inheritance with method overriding
  30. C# program to count the files based on extension using LINQ
  31. C# program to generate random even numbers using LINQ parallel query
  32. C# program to generate numbers that are multiples of 5 using the LINQ parallel query
  33. C# program to print the list of non-generic collections using LINQ
  34. C# program to print the employees whose id is greater than 101 using LINQ
  35. C# program to print the employees whose salary between 6000 and 8000 using LINQ
  36. C# program to print the employees whose name started with character 'S' using LINQ
  37. C# program to print the employees whose name contains less than 4 characters using LINQ
  38. C# program to print the employees whose last character of the name is 'n' using LINQ
  39. C# program to print the employees whose name started with 'S' and Age is greater than 23 using LINQ
  40. C# program to print the numbers greater than 786 in an integer array using LINQ
  41. C# program to print the names that contain 'MAN' substring using LINQ
  42. C# program to print the employees whose salary is greater than the average of all employees salaries using LINQ
  43. C# program to print only those numbers whose value is less than average of all elements in an integer array using LINQ
  44. C# program to convert a two-dimensional array into a one-dimensional array
  45. C# program to demonstrate the example of LongLength property of array
  46. C# program to print the lower bound and upper bound of an array
  47. C# program to find out the dimensions of an array
  48. C# program to demonstrate the example of BlockCopy method of the array
  49. C# program to produce a third array by appending two different arrays
  50. C# program to search an item in an array using binary search
  51. C# program to implement indexer for an integer array
  52. C# program to convert negative values an integer array into positive
  53. C# program to get the length of a jagged array using predefine property
  54. C# program to find the smallest and largest elements of an array using predefined methods
  55. C# program to find the average of array elements using the predefine Average() method of Queryable class
  56. C# program to find the sum of array elements using the predefine Sum() method of Queryable class
  57. C# program to demonstrate the example of Except method in Linq
  58. C# program to demonstrate the example of SelectMany() method in Linq
  59. C# program to find the list of students whose name starts with 'S' using where() method of List collection using Linq
  60. C# program to find the list of students whose name contains 4 characters using where() method of List collection using Linq
  61. C# program to demonstrate the use of the method as a condition in the Linq where() method of List collection
  62. C# program to find the index of even numbers using Linq
  63. C# program to find string values from the list of objects using the Linq OfType() method
  64. C# program to find the negative double numbers from the list of objects using Linq
  65. C# program to demonstrate the example of Linq Distinct() method
  66. C# program to demonstrate the example of Linq Intersect() method
  67. C# program to demonstrate the example of Linq Union() method
  68. C# program to demonstrate the example of Linq Union() method with StringComparer
  69. C# program to demonstrate the example of Linq Concat() method
  70. C# program to sort a list of integers using the Linq OrderBy() method
  71. C# program to sort a list of string names using the Linq OrderBy() method
  72. C# program to sort a list of employees based on salary using Linq
  73. C# program to sort a list of employees based on salary and whose department is ABC using Linq
  74. C# program to find integer numbers from the list of objects and sort them using Linq
  75. C# program to demonstrate the example of Linq Intersect() method with OrderBy() method
  76. C# program to demonstrate the use of Linq OrderByDescending() method
  77. C# program to sort student names in descending order using Linq
  78. C# program to sort a list of employees based on salary in descending order and whose department is XYZ using Linq
  79. C# program to demonstrate the example of Linq ThenBy() method
  80. C# program to demonstrate the example of Linq ThenByDescending() method
  81. C# program to demonstrate the example of Linq Reverse() method
  82. C# program to reverse the list of cities using Linq
  83. C# program to demonstrate the example of Linq Aggregate() method
  84. C# program to calculate the sum of array elements using the Linq Aggregate() method
  85. C# program to calculate the total of employee's salaries using the Aggregate() method
  86. C# program to check all items of a float array is greater than 5.0 using Linq
  87. C# program to check the length of courses is more than 2 characters using Linq
  88. C# program to check the salary of all employees is less than 10000 using Linq
  89. C# program to join Employee and Department class using Linq Join Method
  90. C# program to join Employee and Department class using Linq Join Query
  91. C# program to join Employee and Department class and employee's salary must be greater than 3000 using Linq
  92. C# program to join multiple data sources using Linq
  93. C# program to join multiple data sources using Linq Join() method
  94. C# program to reverse an integer array using a predefined method
  95. C# program to sort an integer array using the predefined method
  96. C# program to calculate the sum of all digits of a number using recursion
  97. C# program to print the binary equivalent of an integer number using recursion
  98. C# program to check a specified number exists in an array using Linq
  99. C# program to check a specified city exists in the List collection using Linq
  100. C# program to check a specified employee exists in the list of employees using Linq
  101. C# program to implement Power() method using recursion
  102. C# program to terminate the current running program explicitly
  103. C# program to demonstrate the concept of method hiding
  104. C# program to demonstrate the example goto statement
  105. C# program to demonstrate the example of anonymous method
  106. C# program to create an obsolete method in a class
  107. C# program to demonstrate the use of a ternary conditional operator
  108. C# program to print a message without using the WriteLine() method
  109. C# program to demonstrate the example of Pass by reference parameter passing in a method
  110. C# program to create a user defined the namespace
  111. C# program to demonstrate the use of #define preprocessor
  112. C# program to demonstrate the example of regular expression
  113. C# program to demonstrate the example of Nullable data types
  114. C# program to demonstrate the example of New keyword
  115. C# program to convert a binary number into a decimal number
  116. C# program to convert a decimal number into a binary number
  117. C# program to convert a decimal number into an octal number
  118. C# program to convert a temperature from Celsius to Fahrenheit
  119. C# program to convert a temperature from Fahrenheit into Celsius
  120. C# program to create gray code
  121. C# program to change the case of entered character
  122. C# program to convert entered days into years, weeks, and days
  123. C# program to convert the US dollar into Indian rupees
  124. C# program to convert a hexadecimal number into a decimal number
  125. C# program to convert a decimal number into a hexadecimal number
  126. C# program to convert a meter into kilo-meter and vice versa
  127. C# program to print digits of a number into words
  128. C# program to declare and instantiate delegate
  129. C# program to call multiple methods from the delegate
  130. C# program to demonstrate the example of an array of delegates
  131. C# program to return the value from the method using a delegate
  132. C# program to demonstrate the example of generic delegate
  133. C# program to demonstrate the example of multicast delegate
  134. C# program to call math operations using delegates
  135. C# program to demonstrate IndexOutOfRange exception
  136. C# program to demonstrate DivideByZeroException exception
  137. C# program to demonstrate InvalidCastException exception
  138. C# program to demonstrate the multiple catch blocks in exception handling
  139. C# program to demonstrate the stack overflow exception
  140. C# program to demonstrate the NullReferenceException
  141. C# program to demonstrate the finally block in exception handling
  142. C# program to demonstrate StringReader class
  143. C# program to read the list of available disk drives
  144. C# program to demonstrate the StringWriter class
  145. C# program to read all lines from a file using StreamReader class
  146. C# program to read data from file character by character till the end of the file
  147. C# program to demonstrate MemoryStream class
  148. C# program to get the size of a specified folder including sub-folder
  149. C# program to demonstrate the BinaryReader and BinaryWriter classes
  150. C# program to compare the content of two files using StreaReader class
  151. C# program to check the given number is a perfect number or not
  152. C# program to print the all factors of a given number
  153. C# program to find the HCF of two given numbers
  154. C# program to check given numbers are the pair of amicable numbers or not
  155. C# program to find the addition of two complex numbers
  156. C# program to find the greatest common divisor (GCD)
  157. C# program to find the value of sin(x)
  158. C# program to demonstrate the trigonometry angles in degrees using Math class
  159. C# program to demonstrate the trigonometry angles in radians using Math class
  160. C# program to calculate the MEAN of a set of given numbers
  161. C# program to calculate the VARIANCE of a set of given numbers
  162. C# program to calculate the Standard Deviation of a set of given numbers
  163. C# program to calculate the compound interest
  164. C# program to calculate the Cosine(X) using a predefined method
  165. C# program to calculate the Cosine(X) without using a predefined method
  166. C# program to calculate the traveled distance based on speed and time
  167. C# program to print the Pascal Triangle
  168. C# program to calculate the sum of two binary numbers
  169. C# program to calculate the multiplication of two exponents of the same base
  170. C# program to print Floyd's triangle
  171. C# program to calculate the multiplication of two numbers using the left shift operator
  172. C# program to print the edge values using Pow() method
  173. C# program to calculate the fractional power of numbers
  174. C# program to get the date of yesterday using TimeSpan
  175. C# program to get tomorrow's date using TimeSpan
  176. C# program to find the difference of two specified times using TimeSpan
  177. C# program to find the sum of two specified times using TimeSpan
  178. C# program to demonstrate the bitwise operations
  179. C# program to find the root of a quadratic equation
  180. C# program to print the absolute value of a number without using Math.Abs() method
  181. C# program to find the Least Common Multiple of two numbers
  182. C# program to find the cube root of a given number
  183. C# program to find the square root of a given number without using Math.Sqrt() method
  184. C# program to trim a specified string
  185. C# program to trim a specified string from the left side
  186. C# program to trim a specified string from the right side
  187. C# program to split a string using the Split() method of String class
  188. C# program to extract only numbers from a specified string using the Split() method
  189. C# program to get the length of the string
  190. C# program to replace a substring within a specified string
  191. C# program to find the occurrence of the specified word in a given string
  192. C# program to convert a string from lowercase to uppercase
  193. C# program to calculate the area of a Cone
  194. C# program to calculate the volume of a cone
  195. C# program to calculate the NPR
  196. C# program to calculate the area of Sphere
  197. C# program to calculate the volume of Sphere
  198. C# program to calculate the perimeter of Circle
  199. C# program to calculate the perimeter of Rectangle
  200. C# program to calculate the NCR
  201. C# program to print the abbreviation of a given string
  202. C# program to print the list of all possible substrings of a specified string
  203. C# program to count the total number of digits in an alpha-numeric string
  204. C# program to concatenate the two strings using a predefined method
  205. C# program to reverse a given string without using the predefined method
  206. C# program to perform left padding without using PadLeft() method
  207. C# program to perform the right padding without using the PadRight() method
  208. C# program to count the total number of vowels in a given string
  209. C# program to generate random strings
  210. C# program to encrypt and decrypt a string using Rijndael key algorithm
  211. C# program to count the lines in a given string
  212. C# program to print the hostname of the computer
  213. C# program to print the IP address of the computer
  214. C# program to demonstrate the validation of username and password
  215. C# program to demonstrate the simple interface
  216. C# program to implement the same method in multiple classes
  217. C# program to implement multiple interfaces in the same class
  218. C# program to implement multiple interfaces with the same method in the same class
  219. C# program to demonstrate interface implementation with multi-level inheritance
  220. C# program to implement an interface in a structure
  221. C# program to implement multiple-inheritance using the interface
  222. C# program to implement hierarchical inheritance using the interface
  223. C# program to demonstrate the inheritance of interfaces
  224. C# program to demonstrate the simple example of the abstract class
  225. C# program to implement the same abstract method in multiple classes
  226. C# program to inherit an abstract class and interface in the same class
  227. C# program to demonstrate abstract class with multiple-level inheritance
  228. C# program to implement multiple-inheritance using abstract class and interface
  229. C# program to implement hierarchical inheritance using the abstract class
  230. C# program to demonstrate the inheritance of abstract classes
  231. C# program to demonstrate the use of reflection to get namespace and base-type
  232. C# program to print class names created in the program using reflection
  233. C# program to print the current assembly name using GetExecutingAssembly() method
  234. C# program to print class names and its method names using reflection classes
  235. C# program to print method names and its parameters using reflection classes
  236. C# program to print constructors of the specified class using ConstructorInfo class
  237. C# program to print properties of the specified class using PropertyInfo class
  238. C# program to check a specified class is an abstract class or not
  239. C# program to check a specified type is a class or not
  240. C# program to check a specified type is an enum or not
  241. C# program to check a specified type is an interface or not
  242. C# program to check a specified type is nested or not
  243. C# program to check a specified type is a primitive data type or not
  244. C# program to check a specified type is a pointer or not
  245. C# program to check a specified type is an array or not
  246. C# program to check a specified type is public or not
  247. C# program to check a specified class is a sealed class or not
  248. C# program to check a specified class is a serializable class or not
  249. C# program to check a specified type is a value type or not
  250. C# program to check a class is a sub-class of a specified class or not
  251. C# program to demonstrate the conditional attribute using #define
  252. C# program to demonstrate the #if preprocessor directive
  253. C# program to demonstrate the #undef preprocessor directive
  254. C# program to demonstrate the #error preprocessor directive
  255. C# program to demonstrate the #warning preprocessor directive
  256. C# program to demonstrate the #region preprocessor directive
  257. C# program to demonstrate the #pragma preprocessor directive
  258. C# program to demonstrate the Obsolete attribute
  259. C# program to generate an error for the obsolete method using the Obsolete attribute
  260. C# program to demonstrate the CLSCompliant attribute
  261. C# program to demonstrate the Flags Attribute
  262. C# program to demonstrate unsafe code using pointers
  263. C# program to access array elements using the pointer
  264. C# program to swap two numbers using the pointer
  265. C# program to count vowels in character array using pointers
  266. C# program to demonstrate the pointer as a data member
  267. C# program to create a socket server
  268. C# program to create a client program
  269. C# program to add two matrices
  270. C# program to transpose a matrix
  271. C# program to print the upper triangular matrix
  272. C# program to check the matrix is an identity matrix or not
  273. C# program to find the largest element in the matrix
  274. C# program to multiply two matrices
  275. C# program to find the sum of each row of the matrix
  276. C# program to find the sum of each column of the matrix
  277. C# program to find the sum of the right diagonal of the matrix
  278. C# program to find the sum of the left diagonal of the matrix
  279. C# program to interchange the columns of the matrix
  280. C# program to print the lower triangular matrix
  281. C# program to demonstrate the interface
  282. C# program to demonstrate the properties in the interface
  283. C# program to demonstrate the IList interface
  284. C# program to demonstrate the IDictionary interface
  285. C# program to implement In-order traversal in Binary Tree
  286. C# program to implement Pre-order traversal in Binary Tree
  287. C# program to implement Post-order traversal in Binary Tree
  288. C# program to get all stack frames using StackTrace class
  289. C# program to traverse the singly linked list
  290. C# program to delete a given node from the singly Linked-List
  291. C# program to implement stack using structure
  292. C# program to implement Double Stack using structure
  293. C# program to implement Double Stack using class
  294. C# program to implement Linear Queue using structure
  295. C# program to implement the Circular Queue using structure
  296. C# program to demonstrate the Tower Of Hanoi
  297. C# program to implement selection Sort
  298. C# program to implement selection Sort to arrange elements in the descending order
  299. C# program to sort an array in ascending order using bubble sort
  300. C# program to sort an array in descending order using bubble sort
  301. C# program to sort an array in ascending order using insertion sort
  302. C# program to sort an array in descending order using insertion sort
  303. C# program to sort an array using quick sort
  304. C# program to sort an array using merge sort
  305. C# program to sort an integer array using Radix Sort
  306. C# program to implement the Heap Sort
  307. C# program to demonstrate the Enum
  308. C# program to print the integer values of enum constants
  309. C# program to get the type-code of enum constants
  310. C# program to print the name of enum constant based on an integer value
  311. C# program to get the hash-code of enum constants
  312. C# program to demonstrate the optional parameters
  313. C# program to demonstrate the named arguments
  314. C# program to demonstrate the command line arguments
  315. C# program to demonstrate the static class
  316. C# program to get the count of total created objects
  317. C# program to demonstrate the static constructor
  318. C# program to demonstrate the structure
  319. C# program to demonstrate the static constructor in the structure
  320. C# program to demonstrate the array of structures
  321. C# program to demonstrate the structure within a structure
  322. C# program to demonstrate method overloading based on the number of arguments
  323. C# program to demonstrate method overloading based on types of arguments
  324. C# program to demonstrate method overloading based on the order of arguments
  325. C# program to demonstrate the constructor overloading
  326. C# program to demonstrate the index overloading
  327. Why is Dictionary preferred over Hashtable in C#?
  328. C#.Net program to get the MySQL version
  329. C#.Net program to get the MySQL version using the 'Select' statement
  330. C#.Net program to create a database in MySql dynamically
  331. C#.Net program to create a table in MySql database dynamically
  332. C#.Net program to drop a table from the MySql database dynamically
  333. C#.Net program to insert a record in the MySql database
  334. C#.Net program to print the column name of a specified MySql database table
  335. C#.Net program to get the records of a specified MySql database table
  336. C# program to demonstrate the use of SchemeDelimiter property of Uri class
  337. C# program to check whether a given Uri is a file or not
  338. C# program to check whether a given Uri uses File Transfer Protocol (FTP) or not
  339. C# program to check whether a given Uri is accessed through Gopher protocol
  340. C# program to check whether a given Uri is accessed through http protocol
  341. C# program to check whether a given Uri is accessed through https protocol
  342. C# program to check whether a given Uri is accessed through SMTP protocol
  343. C# program to check whether a given Uri is accessed through NetPipe scheme of Indigo system
  344. C# program to check whether a given Uri is accessed through NetTcp scheme
  345. C# program to demonstrate the use of UriSchemeNews property of Uri class
  346. C# program to demonstrate the use of AbsolutePath property of Uri class
  347. C# program to demonstrate the use of AbsoluteUri property of Uri class
  348. C# program to demonstrate the use of Authority property of Uri class
  349. C# program to demonstrate the use of IsUnc property of Uri class
  350. C# program to demonstrate the use of LocalPath property of Uri class
  351. C# program to demonstrate the use of OriginalString property of Uri class
  352. C# program to demonstrate the use of PathAndQuery property of Uri class
  353. C# program to demonstrate the use of Port property of Uri class
  354. C# program to demonstrate the use of Query property of Uri class
  355. C# program to demonstrate the use of Scheme property of Uri class
  356. C# program to demonstrate the use of Segments property of Uri class
  357. C# program to demonstrate the use of UserEscaped property of Uri class
  358. C# program to demonstrate the use of UserInfo property of Uri class
  359. C# program to demonstrate the use of Round() method of Math class
  360. C# program to demonstrate the use of Sign() method of Math class
  361. C# program to demonstrate the use of Sin() method of Math class
  362. C# program to demonstrate the use of Sinh() method of Math class
  363. C# program to demonstrate the use of Tan() method of Math class
  364. C# program to demonstrate the use of Tanh() method of Math class
  365. C# program to demonstrate the use of Truncate() method of Math class
  366. C# program to demonstrate the use of CompareTo() method of Enum class
  367. C# program to demonstrate the use of Equals() method of Enum class
  368. C# program to demonstrate the use of Format() method of Enum class
  369. C# program to demonstrate the use of GetHashCode() method of Enum
  370. C# program to demonstrate the GetName() method of Enum
  371. C# program to demonstrate the GetNames() method of Enum class
  372. C# program to demonstrate the GetType() method of Enum class
  373. C# program to demonstrate the GetTypeCode() method of Enum class
  374. C# program to demonstrate the GetUnderlyingType() method of Enum class
  375. C# program to demonstrate the GetValues() method of Enum class
  376. C# program to demonstrate the HasFlag() method of Enum class
  377. C# program to demonstrate the IsDefined() method of Enum class
  378. C# program to demonstrate the use of Parse() method of Enum class
  379. C# program to demonstrate the use of ToObject() method of Enum class
  380. C# program to demonstrate the use of MaxValue property of TimeSpan structure
  381. C# program to demonstrate the use of MinValue property of TimeSpan structure
  382. C# program to demonstrate the use of TicksPerDay property of TimeSpan structure
  383. C# program to demonstrate the use of TicksPerHour property of TimeSpan structure
  384. C# program to demonstrate the use of TicksPerMillisecond property of TimeSpan structure
  385. C# program to demonstrate the use of TicksPerMinute property of TimeSpan structure
  386. C# program to demonstrate the use of TicksPerSecond property of TimeSpan structure
  387. C# program to demonstrate the use of Zero property of TimeSpan structure
  388. C# program to demonstrate the use of Days property of TimeSpan structure
  389. C# program to demonstrate the use of Hours property of TimeSpan structure
  390. C# program to demonstrate the use of Milliseconds property of TimeSpan structure
  391. C# program to demonstrate the use of Minutes property of TimeSpan structure
  392. C# program to demonstrate the use of Seconds property of TimeSpan structure
  393. C# program to demonstrate the use of Ticks property of TimeSpan structure
  394. C# program to demonstrate the use of TotalDays property of TimeSpan structure
  395. C# program to demonstrate the use of TotalHours property of TimeSpan structure
  396. C# program to demonstrate the use of TotalMilliseconds property of TimeSpan structure
  397. C# program to demonstrate the use of TotalMinutes property of TimeSpan structure
  398. C# program to demonstrate the use of TotalSeconds property of TimeSpan structure
  399. C# program to demonstrate the use of Add() method of TimeSpan structure
  400. C# program to demonstrate the use of Subtract() method of TimeSpan structure
  401. C# program to demonstrate the use of Compare() method of TimeSpan structure
  402. C# program to demonstrate the use of CompareTo() method of TimeSpan structure
  403. C# program to demonstrate the use of Duration() method of TimeSpan structure
  404. C# program to demonstrate the use of Equals() method of TimeSpan structure
  405. C# program to demonstrate the use of FromDays() method of TimeSpan structure
  406. C# program to demonstrate the use of FromHours() method of TimeSpan structure
  407. C# program to demonstrate the use of FromMinutes() method of TimeSpan structure
  408. C# program to demonstrate the use of FromSeconds() method of TimeSpan structure
  409. C# program to demonstrate the use of FromMilliseconds() method of TimeSpan structure
  410. C# program to demonstrate the use of FromTicks() method of TimeSpan structure
  411. C# program to demonstrate the unary plus (+) operator with TimeSpan structure
  412. C# program to demonstrate the unary minus (-) operator with TimeSpan structure
  413. C# program to demonstrate the binary plus (+) operator with TimeSpan structure
  414. C# program to demonstrate the binary minus (-) operator with TimeSpan structure
  415. C# program to demonstrate the equality (==) operator with TimeSpan structure
  416. C# program to demonstrate the Inequality (!=) operator with TimeSpan structure
  417. C# program to demonstrate the overloaded less than (<) operator with TimeSpan structure
  418. C# program to demonstrate the overloaded less than or equal to (<=) operator with TimeSpan structure
  419. C# program to demonstrate the overloaded greater than (>) operator with TimeSpan structure
  420. C# program to demonstrate the overloaded greater than or equal to (>=) operator with TimeSpan structure
  421. C# program to get the full path of the current directory using Environment class
  422. C# program to get the Machine Name or Host Name using Environment class
  423. C# program to check whether running Operating System is 64-bit OS or not using Environment class
  424. C# program to check whether running process is 64-bit process or not using Environment class
  425. C# program to get the number of processors of the current machine using Environment class
  426. C# program to check whether the CLR is shutting down or not using Environment class
  427. C# program to get the path of system directory using Environment class
  428. C# program to get the memory size for OS page file using Environment class
  429. C# program to get the Computer System User Name using Environment class
  430. C# program to get the amount of physical memory mapped to the process context using Environment class
  431. C# program to get the Network Domain name associated with current using Environment class
  432. C# program to get the current stack trace information using Environment class
  433. C# program to get the number of milliseconds elapsed since system started using Environment class
  434. C# program to check whether a process is running in user interactive mode or not using Environment class
  435. C# program to get and print the command line arguments using Environment class
  436. C# program to demonstrate the use of Exit() method of Environment class
  437. C# program to demonstrate the use of GetCommandLineArgs() method of Environment class
  438. C# program to demonstrate the use of FailFast() method of Environment class
  439. C# program to get the logical drives of computer system using Environment class
  440. C# program to get the environment variables using Environment class
  441. C# program to get the Operating System version of computer using Environment class
  442. C# program to demonstrate the use of GetEnvironmentVariable() method of Environment class
  443. C# program to demonstrate the use of SetEnvironmentVariable() method of Environment class
  444. C# program to demonstrate the use of Exp() method of Math class
  445. C# program to demonstrate the use of PI property of Math class
  446. C# program to demonstrate the use of Acos() method of Math class
  447. C# program to demonstrate the use of Asin() method of Math class
  448. C# program to demonstrate the use of Atan() method of Math class
  449. C# program to demonstrate the use of Atan2() method of Math class
  450. C# program to demonstrate the use of Cos() method of Math class
  451. C# program to demonstrate the use of Cos() method of Math class
  452. C# program to demonstrate the use of Cosh() method of Math class
  453. C# program to demonstrate the use of DivRem() method of Math class
  454. C# program to demonstrate the use of IEEERemainder() method of Math class
  455. C# program to demonstrate the use of Log() method of Math class
  456. C# program to demonstrate the use of Log10() method of Math class
  457. C# program to demonstrate the use of Abs() method of Math class
  458. C# program to demonstrate the use of BigMul() method of Math class
  459. C# program to add elements into a SortedList (Example of Add() Method)
  460. C# program to remove an element from a SortedList (Example of Remove() Method)
  461. C# program to remove an element at the specified index from a SortedList (Example of RemoveAt() Method)
  462. C# program to get the value at the specified index from a SortedList (Example of GetByIndex() Method)
  463. C# program to get the key at the specified index of a SortedList (Example of GetKey() Method)
  464. C# program to get the keys in a SortedList (Example of GetKeyList() Method)
  465. C# program to get the values in a SortedList (Example of GetValueList() Method)
  466. C# program to get the index of the specified key in a SortedList (Example of IndexOfKey() Method)
  467. C# program to get the index of the first occurrence of the specified value in a SortedList (Example of IndexOfValue() Method)
  468. C# program for swapping of two arrays
  469. C# program to check whether a SortedList object contains a specific key (Example of ContainsKey() Method)
  470. C# program to check whether a SortedList object contains a specific value (Example of ContainsValue() Method)
  471. C# program to check whether a SortedList object contains a specific key (Example of Contains() Method)
  472. C# program to get the keys in a SortedList object (Example of Keys Property)
  473. C# program to get the values in a SortedList object (Example of Values Property)
  474. C# program to replace the value at a specific index in a SortedList object (Example of SetByIndex() Method)
  475. C# program to copy SortedList elements to a one-dimensional Array object (Example of CopyTo() Method)
  476. C# program to create a shallow copy of a SortedList object (Example of Clone() Method)
  477. C# program to remove all elements from a SortedList object (SortedList.Clear() Method)
  478. C# program to get or set the capacity of a SortedList object (SortedList.Capacity Property)
  479. C# program to demonstrate the BitArray
  480. C# program to get the value of the bit at a specific position in the BitArray (BitArray.Get() Method)
  481. C# program to perform the bitwise AND operation between BitArray elements (BitArray.And() Method)
  482. C# program to perform the bitwise OR operation between BitArray elements (BitArray.Or() Method)
  483. C# program to invert all the bit values in the current BitArray (BitArray.Not Method)
  484. C# program to set all bits in the BitArray to the specified value (BitArray.SetAll() Method)
  485. C# program to set the bit at a specific position in the BitArray to the specified value (BitArray.Set() Method)
  486. C# program to perform the bitwise XOR operation between BitArray elements (BitArray.Xor() Method)
  487. C# program to create a shallow copy of the BitArray (BitArray.Clone() Method)
  488. C# program to copy the entire BitArray to a compatible one-dimensional Array (BitArray.CopyTo() Method)
  489. C# program to get or set the number of elements in the BitArray (BitArray.Length Property)
  490. C# program to get the local time zone (TimeZoneInfo.Local Property)
  491. C# program to get the difference between local time zone and UTC (Coordinated Universal Time)
  492. C# program to get the display name for the current time zone's daylight saving time (TimeZoneInfo.DaylightName Property)
  493. C# program to get the DisplayName of local time zone (TimeZoneInfo.DisplayName Property)
  494. C# program for TimeZoneInfo.Id property & TimeZoneInfo.GetSystemTimeZones() method
  495. C# program to get the standard time zone name (TimeZone.StandardName Property)
  496. C# program for TimeZoneInfo.SupportsDaylightSavingTime Property
  497. C# program to get the Coordinated Universal Time (UTC) zone (TimeZoneInfo.Utc Property)
  498. C# program to get the system time by Zone Id
  499. C# program to convert a time to the time in a particular time zone (TimeZoneInfo.ConvertTime() Method)
  500. C# program to clear cached time zone data (TimeZoneInfo.ClearCachedData() Method)
  501. C# program to define a time zone that is not found on the local computer (TimeZoneInfo.CreateCustomTimeZone() Method)
  502. C# program to determine whether two TimeZoneInfo objects are equal (TimeZoneInfo.Equals() Method)
  503. C# program to get the hash code of the time zone (TimeZoneInfo.GetHashCode() Method)
  504. C# program to get a sorted collection of all the time zones (TimeZoneInfo.GetSystemTimeZones() Method)
  505. C# program to calculate the offset between the time in this time zone and UTC (TimeZoneInfo.GetUtcOffset() Method)
  506. C# program to check whether a date and time in a particular time zone is ambiguous (TimeZoneInfo.IsAmbiguousTime() Method)
  507. C# program to get the ambiguous time offsets (TimeZoneInfo.GetAmbiguousTimeOffsets() Method)
  508. C# program to determine given date and time is daylight saving time or not (TimeZoneInfo.IsDaylightSavingTime() Method)
  509. C# program to insert an item into a sorted array
  510. C# program to delete an item from a sorted array
  511. C# program to get the maximum number of generations that the system currently supports (GC.MaxGeneration Property)
  512. C# program to get the current generation number of an object (GC.GetGeneration() Method)
  513. C# program to get the number of bytes currently thought to be allocated (GC.GetTotalMemory() Method)
  514. C# program to force an immediate garbage collection (GC.Collect() Method)
  515. C# program to add an object to the end of the ArrayList (ArrayList.Add() Method)
  516. C# program to remove the first occurrence of a specific object from the ArrayList (ArrayList.Remove() Method)

C# find output programs

  1. C#.Net find output programs (Data Types) | set 1
  2. C#.Net find output programs (Data Types) | set 2
  3. C#.Net find output programs (Data Types) | set 3
  4. C#.Net find output programs (Operators) | set 1
  5. C#.Net find output programs (Operators) | set 2
  6. C#.Net find output programs (Operators) | set 3
  7. C#.Net find output programs (const Keyword) | set 1
  8. C#.Net find output programs (this Keyword) | set 1
  9. C#.Net find output programs (readonly Keyword) | set 1
  10. C#.Net find output programs (if else) | set 1
  11. C#.Net find output programs (if else) | set 2
  12. C#.Net find output programs (if else) | set 3
  13. C#.Net find output programs (switch statement) | set 1
  14. C#.Net find output programs (switch statement) | set 2
  15. C#.Net find output programs (switch statement) | set 3
  16. C#.Net find output programs (goto) | set 1
  17. C#.Net find output programs (Loops) | set 1
  18. C#.Net find output programs (Loops) | set 2
  19. C#.Net find output programs (Loops) | set 3
  20. C#.Net find output programs (Arrays) | set 1
  21. C#.Net find output programs (Arrays) | set 2
  22. C#.Net find output programs (Arrays) | set 3
  23. C#.Net find output programs (static Keyword) | set 1
  24. C#.Net find output programs (static Keyword) | set 2
  25. C#.Net find output programs (default Arguments) | set 1
  26. C#.Net find output programs (default Arguments) | set 2
  27. C#.Net find output programs (Parameter Passing) | set 1
  28. C#.Net find output programs (Enumeration) | set 1
  29. C#.Net find output programs (Enumeration) | set 2
  30. C#.Net find output programs (Boxing & Unboxing) | set 1
  31. C#.Net find output programs (Structure) | set 1
  32. C#.Net find output programs (Structure) | set 2
  33. C#.Net find output programs (Structure) | set 3
  34. C#.Net find output programs (Classes & Objects) | set 1
  35. C#.Net find output programs (Classes & Objects) | set 2
  36. C#.Net find output programs (Classes & Objects) | set 3
  37. C#.Net find output programs (Constructors & Destructors) | set 1
  38. C#.Net find output programs (Constructors & Destructors) | set 2
  39. C#.Net find output programs (Constructors & Destructors) | set 3
  40. C#.Net find output programs (Inheritance) | set 1
  41. C#.Net find output programs (Inheritance) | set 2
  42. C#.Net find output programs (Inheritance) | set 3
  43. C#.Net find output programs (Interface) | set 1
  44. C#.Net find output programs (Interface) | set 2
  45. C#.Net find output programs (Method Overloading) | set 1
  46. C#.Net find output programs (Method Overloading) | set 2
  47. C#.Net find output programs (Method Overriding) | set 1
  48. C#.Net find output programs (Method Overriding) | set 2
  49. C#.Net find output programs (Method Overriding) | set 3
  50. C#.Net find output programs (Operator Overloading) | set 1
  51. C#.Net find output programs (Operator Overloading) | set 2
  52. C#.Net find output programs (Operator Overloading) | set 3
  53. C#.Net find output programs (Namespace) | set 1
  54. C#.Net find output programs (Namespace) | set 2
  55. C#.Net find output programs (Exception Handling) | set 1
  56. C#.Net find output programs (Exception Handling) | set 2
  57. C#.Net find output programs (Exception Handling) | set 3

PHP

  1. PHP program to create an object of a class and access the class attributes
  2. PHP program to create multiple objects of a class and access attributes of the class
  3. PHP program to define methods within the class
  4. PHP program to initialize data members without using the constructor
  5. PHP program to print the size of the empty class
  6. PHP program to create a class with setter and getter functions
  7. PHP program to create a class to add two distances
  8. PHP program to create a class to subtract one distance from another distance
  9. PHP program to create a class to add two times
  10. PHP program to convert seconds into hours, minutes, and seconds
  11. PHP program to convert hours, minutes, and seconds into several seconds
  12. PHP program to implement a cascaded function call
  13. PHP program to create a constant using define() function
  14. PHP program to create a case in-sensitive constant using define() function
  15. PHP program to check a constant is defined or not
  16. PHP program to print the line number using __LINE__ magic constant
  17. PHP program to print the full path of the current program file
  18. PHP program to print the function name using magic constant __FUNCTION__
  19. PHP program to print the class name using magic constant __CLASS__
  20. PHP program to print the method name with the associated class name using magic constant __METHOD__
  21. PHP program to demonstrate the use of printf() function
  22. PHP program to demonstrate the use of the local and global variables
  23. PHP program to demonstrate the default or no-argument constructor
  24. PHP program to implement the default or no-argument constructor using __construct()
  25. PHP program to demonstrate the parameterized constructor
  26. PHP program to implement the parameterized constructor using __construct()
  27. PHP program to demonstrate the use of destructor
  28. PHP program to demonstrate the call by value parameter passing
  29. PHP program to demonstrate the call by reference parameter passing
  30. PHP program to demonstrate the use of default arguments
  31. PHP program to demonstrate the use of variable arguments
  32. PHP program to calculate the factorial of a given number using recursion
  33. PHP program to calculate the power of a given number using recursion
  34. PHP program to demonstrate the single inheritance
  35. PHP program to call a base class constructor from the derived class
  36. PHP program to call base class destructor from the derived class
  37. PHP program to demonstrate the multi-level inheritance
  38. PHP program to demonstrate the hierarchical or tree inheritance
  39. PHP program to demonstrate the example of a simple interface
  40. PHP program to implement an interface into multiple classes
  41. PHP program to implement multiple interfaces in the same class
  42. PHP program to implement multiple-inheritance using the interface
  43. PHP program to demonstrate the inheritance of interfaces
  44. PHP program to demonstrate the example of the simple abstract class
  45. PHP program to inherit an abstract class into multiple non-abstract classes
  46. PHP program to inherit an abstract class and an interface in a non-abstract class
  47. PHP program to demonstrate the inheritance of abstract classes
  48. PHP program to demonstrate the method overriding
  49. PHP program to demonstrate the final keyword
  50. PHP program to demonstrate the method overloading based on the number of arguments
  51. PHP programs to pass an object of class as an argument
  52. PHP programs to demonstrate the function returning object
  53. PHP program to calculate the md5 hash from plaintext
  54. PHP program to convert a string into base64
  55. PHP program to convert base64 into the simple string
  56. PHP program to send a text e-mail message
  57. PHP program to send an HTML email message
  58. PHP program to download the text file from the specified URL
  59. PHP program to demonstrate the Divide By Zero Exception using exception handling
  60. PHP program to demonstrate the Array index out of bound exception using exception handling
  61. PHP program to demonstrate the NULL reference exception using exception handling
  62. PHP program to create a user-defined exception class
  63. PHP program to create DivideByZeroException class
  64. PHP program to demonstrate the finally block in exception handling
  65. PHP program to demonstrate the use of multiple catch blocks
  66. PHP program to convert an associated array into JSON format
  67. PHP program to demonstrate the json_encode() function with indexed array of strings
  68. PHP program to demonstrate the json_encode() function with multi-dimensional array
  69. PHP program to decode the JSON string into an associative array
  70. PHP program to decode the JSON string into a multi-dimensional array
  71. PHP program to check a substring exists within the given string using a regular expression pattern
  72. PHP program to check a case insensitive substring exists within the given string using regular expression pattern
  73. PHP program to demonstrate the regular expression to count the occurrence of given substring
  74. PHP program to demonstrate the regular expression to replace the substring within the string
  75. PHP program to demonstrate the quantifiers in pattern to search a string using a regular expression
  76. PHP program to demonstrate the use of $GLOBALS to access global variables
  77. PHP program to print the filename of the current executing PHP script
  78. PHP program to print the version of CGI used by the webserver
  79. PHP program to print the IP address of a hosted web server
  80. PHP program to print the server name or website name
  81. PHP program to print the version of the server software
  82. PHP program to print the server protocol
  83. PHP program to print the request method used to access the webpage
  84. PHP program to print the timestamp of the start of the request
  85. PHP program to demonstrate the use of $_REQUEST superglobal variable
  86. PHP program to demonstrate the use of $_POST superglobal variable
  87. PHP Find Output Programs (Basics) | Set 1
  88. PHP find output programs (basics) | set 2
  89. PHP find output programs (basics) | set 3
  90. PHP find output programs (conditional statements) | set 1
  91. PHP find output programs (conditional statements) | set 2
  92. PHP find output programs (conditional statements) | set 3
  93. PHP find output programs (Operators) | set 1
  94. PHP find output programs (Operators) | set 2
  95. PHP find output programs (Operators) | set 3
  96. PHP find output programs (Loops) | set 1
  97. PHP find output programs (Loops) | set 2
  98. PHP find output programs (Loops) | set 3
  99. PHP find output programs (Loops) | set 4
  100. PHP find output programs (Arrays) | set 1
  101. PHP find output programs (Arrays) | set 2
  102. PHP find output programs (Arrays) | set 3
  103. PHP find output programs (User-defined functions) | set 1
  104. PHP find output programs (User-defined functions) | set 2
  105. PHP find output programs (User-defined functions) | set 3
  106. PHP find output programs (switch Statement) | set 1
  107. PHP find output programs (switch Statement) | set 2
  108. PHP find output programs (Superglobals) | set 1
  109. PHP find output programs (String Functions) | set 1
  110. PHP find output programs (String Functions) | set 2
  111. PHP find output programs (Number Functions) | set 1
  112. PHP find output programs (Math Functions) | set 1
  113. PHP find output programs (Math Functions) | set 2
  114. PHP find output programs (define Constant) | set 1
  115. PHP find output programs (static variables, classes, methods) | set 1
  116. PHP find output programs (static variables, classes, methods) | set 2
  117. PHP find output programs (Regular Expressions) | set 1
  118. PHP find output programs (Date and Time) | set 1
  119. PHP find output programs (Exceptions) | set 1
  120. PHP find output programs (Exceptions) | set 2
  121. PHP find output programs (Filters) | set 1
  122. PHP find output programs (Filters) | set 2
  123. PHP find output programs (JSON) | set 1
  124. PHP find output programs (const Keyword) | set 1
  125. PHP find output programs (Class & Objects) | set 1
  126. PHP find output programs (Class & Objects) | set 2
  127. PHP find output programs (Class & Objects) | set 3
  128. PHP find output programs (Constructors and Destructors) | set 1
  129. PHP find output programs (Constructors and Destructors) | set 2
  130. PHP find output programs (Constructors and Destructors) | set 3
  131. PHP find output programs (Inheritance) | set 1
  132. PHP find output programs (Inheritance) | set 2
  133. PHP find output programs (Inheritance) | set 3

Java

  1. Java Bitwise Operators
  2. Java find output programs (Data Types) | set 1
  3. Java find output programs (Data Types) | set 2
  4. Java find output programs (Data Types) | set 3
  5. Java find output programs (Operators) | set 1
  6. Java find output programs (Operators) | set 2
  7. Java find output programs (Operators) | set 3
  8. Java find output programs (if else) | set 1
  9. Java find output programs (if else) | set 2
  10. Java find output programs (if else) | set 3
  11. Java find output programs (switch case) | set 1
  12. Java find output programs (switch case) | set 2
  13. Java find output programs (switch case) | set 3
  14. Java find output programs (Loops) | set 1
  15. Java find output programs (Loops) | set 2
  16. Java find output programs (Loops) | set 3
  17. Java find output programs (Arrays) | set 1
  18. Java find output programs (Arrays) | set 2
  19. Java find output programs (Arrays) | set 3
  20. Java find output programs (this Keyword) | set 1
  21. Java find output programs (final Keyword) | set 1
  22. Java find output programs (final Keyword) | set 2
  23. Java find output programs (static Keyword) | set 1
  24. Java find output programs (static Keyword) | set 2
  25. Java find output programs (Parameter Passing) | set 1
  26. Java find output programs (Class and Objects) | set 1
  27. Java find output programs (Class and Objects) | set 2
  28. Java find output programs (Class and Objects) | set 3
  29. Java find output programs (Constructor & Destructor) | set 1
  30. Java find output programs (Constructor & Destructor) | set 2
  31. Java find output programs (Constructor & Destructor) | set 3
  32. Java find output programs (Inheritance) | set 1
  33. Java find output programs (Inheritance) | set 2
  34. Java find output programs (Inheritance) | set 3
  35. Java find output programs (Interface) | set 1
  36. Java find output programs (Interface) | set 2
  37. Java find output programs (Interface) | set 3
  38. Java find output programs (Overloading) | set 1
  39. Java find output programs (Overloading) | set 2
  40. Java find output programs (Overriding) | set 1
  41. Java find output programs (Overriding) | set 2
  42. Java find output programs (Overriding) | set 3
  43. Java find output programs (Exception Handling) | set 1
  44. Java find output programs (Exception Handling) | set 2
  45. Java find output programs (Exception Handling) | set 3
  46. Java find output programs (Enumeration) | set 1
  47. Java find output programs (Enumeration) | set 2
  48. Java find output programs (Autoboxing & Unboxing) | set 1
  49. Java find output programs (Autoboxing & Unboxing) | set 2
  50. Java program to calculate HCF of two numbers
  51. Java program to multiply two numbers using plus (+) operator
  52. Java program to perform subtraction without using minus (-) operator
  53. Java program to print the value in decimal, octal, hexadecimal using printf() method
  54. Java program to calculate the employee and employer provident fund
  55. Java program to calculate the gratuity of an employee
  56. Java program to compare float and double values
  57. Java program to find the remainder without using modulus (%) operator
  58. Java program to check a given character is alphanumeric or not without using a built-in method
  59. Java program to check a given character is a digit or not without using the built-in library method
  60. Java program to check a given character is a whitespace character or not without using the built-in library method
  61. Java program to check a given character is an uppercase character or not without using the built-in library method
  62. Java program to check a given character is a lowercase character or not without using the built-in library method
  63. Java program to check a given character is a punctuation mark or not without using the built-in library method
  64. Java program to check a given character is a printable character or not without using the built-in library method
  65. Java program to convert a given number of days into years, weeks, days
  66. Java program to find the roots of a quadratic equation
  67. Java program to find the (GCD) Greatest Common Divisor
  68. Java program to find the (LCM) Lowest Common Multiple
  69. Java program to calculate the area of a triangle based on given three sides
  70. Java program to calculate the area of a triangle based on a given base and height
  71. Java program to calculate the area of Trapezium
  72. Java program to calculate the area of Rhombus
  73. Java program to calculate the area of Parallelogram
  74. Java program to calculate the area of Cube
  75. Java program to find the Surface Area and volume of the cylinder
  76. Java program to calculate the surface area, volume, and space diagonal of cuboids
  77. Java program to calculate the surface area and volume of Cone
  78. Java program to calculate the surface area and volume of Sphere
  79. Java program to calculate the mean, variance, and standard deviation of real numbers
  80. Java program to read coordinate points and determine its quadrant
  81. Java program to calculate the value of nCr
  82. Java program to calculate the value of nPr
  83. Java program to calculate the product of two binary numbers
  84. Java program to add two complex numbers
  85. Java program to extract the last two digits from a given year
  86. Java program to read the height of the person, and the print person is taller, dwarf, or average height person
  87. Java program to find the sum of two numbers using binary addition
  88. Java program to find subtraction of two numbers using binary subtraction
  89. Java program to extract bytes from an integer (Hex) value
  90. Java program to convert hexadecimal byte to decimal
  91. Java program to read a weekday number and print weekday name using switch statement
  92. Java program to read gender (M/F) and print the corresponding gender using a switch statement
  93. Java program to check whether a character is a VOWEL or CONSONANT using switch statement
  94. Java program to check whether the number is EVEN or ODD using switch statement
  95. Java program to find the number of days in a month using a switch statement
  96. Java program to validate date and print weekday of the given date
  97. Java program to clear console screen
  98. Java program to sleep program execution for specified milliseconds
  99. Java program to design a digital clock
  100. Java program to check a given IP address is valid or not
  101. Java program to check a given Email address is valid or not
  102. Java program to store the date in a single integer variable
  103. Java program to store the time in a single integer variable
  104. Java program to print string in hexadecimal format
  105. Java program to extract octets from IP address
  106. Java program to determine the class of a given IP address
  107. Java program to find the number of bits required to represent a number
  108. Java program to swap the first and second bits of an integer number
  109. Java program to check whether all bits of the number are UNSET (LOW)
  110. Java program to swap bytes of an integer number
  111. Java program to reverse bits of the given number
  112. Java program to count total HIGH bits of the given number
  113. Java program to swap two nibbles of a given byte
  114. Java program to demonstrate the example of left shift (<<) operator
  115. Java program to demonstrate the example of the right shift (>>) operator
  116. Java program to SET and CLEAR bits of the given number
  117. Java program to implement infinite loop using while loop
  118. Java program to implement infinite loop using do-while loop
  119. Java program to implement nested loop using for loop
  120. Java program to demonstrate the break statement with while and for loop
  121. Java program to demonstrate the break statement with a nested loop
  122. Java program to demonstrate the continue statement with while and for loops
  123. Java program to swap two numbers using bitwise operator
  124. Java program to find the highest bit set for a given integer number
  125. Java program to check if all the bits of a given integer number are HIGH or not
  126. Java program to count the total HIGH bits in the given number
  127. Java program to check binary representation of the given number is palindrome or not
  128. Java program to check a given number is EVEN or ODD using bit masking
  129. Java program to check nth bit of 16-bit number is set or not
  130. Java program to check a number contains the alternative pattern of bits
  131. Java program to find the next number that is the power of 2
  132. Java program to find the position of MSB bit of an integer number
  133. Java program to round off an integer number to the next lower multiple of 2
  134. Java program to count the number of leading zeros in a binary number
  135. Java program to swap two bits of a 32-bit integer number
  136. Java program to check a given number is the power of 2 using bitwise operator
  137. Java program to count the number of bits to be flipped to convert a number to another number
  138. Java program to print bits that need to be flipped to convert a number to another number
  139. Java program to access elements of character array using for each loop
  140. Java program to find the length of an array
  141. Java program to find prime and non-prime numbers in the array
  142. Java program to search an item into the array using linear search
  143. Java program to search an item in an array using binary search
  144. Java program to search an item in an array using interpolation search
  145. Java program to sort an array in ascending order using selection sort
  146. Java program to sort an array in descending order using selection sort
  147. Java program to sort an array in ascending order using bubble sort
  148. Java program to sort an array in descending order using bubble sort
  149. Java program to sort an array in ascending order using quicksort
  150. Java program to convert string to byte
  151. Java program to convert a string into a short integer
  152. Java program to convert byte into the string
  153. Java program to convert a short integer into a string
  154. Java program to convert an integer array into the string using the '+' operator
  155. Java program to create members with private access modifier
  156. Java program to create members with access modifier
  157. Java program to create a singleton class
  158. Java program to create instances of singleton class and print hash codes
  159. Java program to compare instances of singleton class
  160. Java program to create a singleton class with method name as that of class
  161. Java program to implement cascaded method call
  162. Java program to create a method returning an object
  163. Java program to pass an object as an argument
  164. Java program to create an array of objects
  165. Java program to implement the parameterized constructor
  166. Java program to implement constructor overloading
  167. Java program to implement a copy constructor
  168. Java program to implement constructor chaining
  169. Java program to implement method overloading based on the number of arguments
  170. Java program to implement method overloading based on types of arguments
  171. Java program to implement method overloading based on the order of arguments
  172. Java program to overload main() method
  173. Java program to implement method overloading based on type promotion
  174. Java program to implement single inheritance
  175. Java program to implement multi-level inheritance
  176. Java program to implement hierarchical inheritance
  177. Java program to call a superclass constructor from sub/child class
  178. Java program to call the method with the same name using super keyword
  179. Java program to create an object of a class as a data member in another class
  180. Java program to demonstrate the instanceof operator
  181. Java program to create an employee class by inheriting Person class
  182. Java program to override a base class method into a derived class
  183. Java program to demonstrate the protected access specifier
  184. Java program to create an anonymous object
  185. Java program to call a method using the anonymous object
  186. Java program to implement cascaded method call with an anonymous object
  187. Java program to call an Instance Initializer Block using the anonymous object
  188. Java program to implement instance initializer block
  189. Java program to create multiple Instance Initializer Block
  190. Java program to call static block using the anonymous object
  191. Java program to initialize instance data member using instance initializer block
  192. Java program to implement instance initializer block with superclass
  193. Java program to implement static block with instance initializer block
  194. Java program to create a simple abstract class
  195. Java program to create an abstract class with the constructor
  196. Java program to create an abstract class without any abstract method
  197. Java program to create an abstract class with a final method
  198. Java program to create an abstract class with a static method
  199. Java program to create a simple interface
  200. Java program to create an interface with a data member
  201. Java program to implement the method of an interface in multiple classes
  202. Java program to implement multiple interfaces in the same class
  203. Java program to implement the interface with multi-level inheritance
  204. Java program to implement multiple-inheritance using the interface
  205. Java program to implement interface with hierarchical inheritance
  206. Java program to convert a 'java.sql.Date' into 'java.util.Date'
  207. Java program to convert 'java.util.Date' into 'java.sql.Date'
  208. Java program to get milliseconds from the specified date
  209. Java program to get a date from milliseconds using Date() constructor
  210. Java program to get a date from milliseconds using the Date.setTime() method
  211. Java program to compare dates using Date.compareTo() method
  212. Java program to compare dates using the Date.equals() method
  213. Java program to parse individual components of date from a string
  214. Java program to parse individual components of date from the current date
  215. Java program to create a LocalDate object from the object of Date class
  216. Java program to print the current date-time using Calendar class
  217. Java program to get the current year using the get() method of Calendar class
  218. Java program to get the current day number of a month using the get() method of Calendar class
  219. Java program to add days to the current date
  220. Java program to subtract days from the current date
  221. Java program to add months to the current date
  222. Java program to add years to the current date
  223. Java program to compare time using compareTo() method
  224. Java program to compare time using equals() method
  225. Java program to get individual components of the current time
  226. Java program to create a simple enum
  227. Java program to create an enum inside the class
  228. Java program to convert the string into an enum constant
  229. Java program to demonstrate an enum in switch case
  230. Java program to create the main() method inside the enum class
  231. Java program to access enum constants using 'for each' loop
  232. Java program to create an enum class with constructor and method
  233. Java program to create a thread by extending the Thread class
  234. Java program to create a thread by implementing a Runnable interface
  235. Java program to set and print thread name
  236. Java program to print the thread Id of a thread
  237. Java program to create multiple threads
  238. Java program to sleep a thread
  239. Java program to set a thread name using the setName() method
  240. Java program to get thread priority
  241. Java program to set thread priority
  242. Java program to get information of the current executing thread
  243. Java program to get the state of the currently executing thread
  244. Java program to check thread is alive or not
  245. Java program to suspend a thread
  246. Java program to suspend and resume a thread
  247. Java program to stop a thread
  248. Java program to demonstrate the Thread.join() method
  249. Java program to interrupt the execution of a thread
  250. Java program to create a group of a thread
  251. Java program to count active threads of a thread group
  252. Java program to destroy a thread group
  253. Java program to get max priority of ThreadGroup
  254. Java program to set max priority of ThreadGroup
  255. Java program to check whether a thread group is destroyed or not
  256. Java program to print thread group Information
  257. Java program to create a simple linked list using LinkedList collection class
  258. Java program to remove an item from LinkedList collection
  259. Java program to add an item into LinkedList collection on the specified index
  260. Java program to add LinkedList collection into another LinkedList collection on the specified index
  261. Java program to add LinkedList collection into another LinkedList collection in the end
  262. Java program to insert an element at the beginning of the LinkedList collection
  263. Java program to insert an element at the end of the LinkedList collection
  264. Java program to remove all items from LinkedList collection
  265. Java program to check whether an item exists in the LinkedList collection or not
  266. Java program to get the first element from the LinkedList without removing it
  267. Java program to get the items from LinkedList collection using the index
  268. Java program to get the first item from LinkedList collection using getFirst()
  269. Java program to get the last item from LinkedList collection using getLast()
  270. Java program to get the index of the first occurrence of the specified item from LinkedList collection
  271. Java program to get the index of the last occurrence of the item from LinkedList collection
  272. Java program to handle a generated exception
  273. Java program to handle Null Pointer Exception
  274. Java program to handle Number Format Exception
  275. Java program to handle ArrayIndexOutOfBoundsException
  276. Java program to handle Arithmetic Exception
  277. Java program to handle ClassNotFoundException
  278. Java program to handle FileNotFoundException
  279. Java program to handle InterruptedException
  280. Java program to handle NoSuchMethodException
  281. Java program to handle NoSuchFieldException
  282. Java program to handle StringIndexOutOfBoundsException
  283. Java program to print the stack trace of an exception
  284. Java program to implement the try block with multiple catch blocks
  285. Java program to implement finally block when the exception is not caught
  286. Java program to implement finally block when an exception is caught
  287. Java program to throw an exception explicitly
  288. Java program to demonstrate the throws keyword
  289. Java program to implement nested try catch block
  290. Java program to get exception message using getMessage() method
  291. Java program to create a custom exception class
  292. Java program to iterate linked list elements from the specified position
  293. Java program to store different types of items in the linked list
  294. Java program to add an item to the tail of LinkedList
  295. Java program to add an item at the front of LinkedList
  296. Java program to insert an item at the last of LinkedList using the offerLast() method
  297. Java program to get the head item from the LinkedList without removing it
  298. Java program to get the last item from the LinkedList without removing it
  299. Java program to retrieve and remove the head item from the LinkedList
  300. Java program to retrieve and remove the tail/last item from the LinkedList
  301. Java program to insert an item to the stack represented by the LinkedList
  302. Java program to pop items from the stack represented by the LinkedList
  303. Java program to remove the last occurrence of a specified item from the LinkedList
  304. Java program to get the size of the LinkedList collection
  305. Java program to convert a LinkedList collection to an array
  306. Java program to replace an item in LinkedList collection
  307. Java program to create a LinkedList collection of objects of a class
  308. Java program to demonstrate the spliterator() method of LinkedList
  309. Java program to create a stack using Stack collection
  310. Java program to create a stack with hybrid items using Stack collection
  311. Java program to perform push and pop operations in a Stack collection
  312. Java program to search an item in a Stack collection
  313. Java program to check whether a Stack collection is empty or not
  314. Java program to get the topmost element from Stack collection without removing it
  315. Java program to compare two Stack collections
  316. Java program to convert a Stack collection into an Object array
  317. Java program to create a Stack collection of objects of a class
  318. Java program to get the size of Stack collection
  319. Java program to traverse a Stack collection using the 'foreach' loop
  320. Java program to add a Stack collection into another Stack collection
  321. Java program to add an ArrayList into Stack collection
  322. Java program to create a Queue using LinkedList
  323. Java program to remove an item from the Queue
  324. Java program to print Queue elements using 'foreach' loop
  325. Java program to check whether a queue is empty or not
  326. Java program to remove all elements of queue
  327. Java program to retrieve an element from the head of the queue without removing it
  328. Java program to retrieve an element from the head of the queue
  329. Java program to add elements to Queue using add() and offer() methods
  330. Java program to iterate Queue elements using the iterator() method
  331. Java program to get the size of the Queue collection
  332. Java program to compare two queues
  333. Java program to implement Queue using ArrayDeque class
  334. Java program to represent the class in different ways
  335. Java program to get the class name using the object of the class
  336. Java program to demonstrate the newInstance() method
  337. Java program to check whether an object belongs to a particular class or not
  338. Java program to check whether the specified Class object represents an interface type or not
  339. Java program to check whether the specified Class object represents a primitive type or not
  340. Java program to check whether the specified Class object represents an array or not
  341. Java program to check anonymous class using isAnonymousClass() method
  342. Java program to check whether a class is a local class or not
  343. Java program to check whether a class is a member class or not
  344. Java program to check whether a class is declared as an enum or not
  345. Java program to check an annotation type using the isAnnotation() method
  346. Java program to demonstrate the getName() method
  347. Java program to print the class loader of the given class
  348. Java program to get the name of the superclass
  349. Java program to get the name of the generic superclass
  350. Java program to get the list of implemented interfaces in a class
  351. Java program to get the package name of a class
  352. Java program to get the list of fields of a class
  353. Java program to get the list of defined classes and interfaces in a class
  354. Java program to get the list of methods of a class
  355. Java program to get the list of constructors of a class
  356. Java program to create an anonymous class by extending a class
  357. Java program to create an anonymous class by implementing an interface
  358. Java program to create a HashSet with string items
  359. Java program to create a HashSet with different types of items
  360. Java program to print a HashSet collection using the foreach loop
  361. Java program to iterate a HashSet collection using the iterator() method
  362. Java program to remove all elements of HashSet collection
  363. Java program to create the clone of a HashSet collection
  364. Java program to check whether a HashSet contains a specified item or not
  365. Java program to check whether a HashSet is empty or not
  366. Java program to add a HashSet to another HashSet collection
  367. Java program to check a HashSet contains all elements of another HashSet
  368. Java program to remove an item from HashSet collection
  369. Java program to remove HashSet elements contained in other HashSet
  370. Java program to remove elements from a HashSet that are not contained in a specified HashSet
  371. Java program to get the size of a HashSet Collection
  372. Java program to convert a HashSet into an array
  373. Java program to remove elements from HashSet collection based on a specified predicate
  374. Java program to check the HashSet collections have similar elements
  375. Java program to print HashSet elements using parallelStream() method
  376. Java program to print HashSet elements using spliterator() method
  377. Java program to find the intersection of HashSet collections
  378. Java program to find the union of HashSet collections
  379. Java program to find the difference between HashSet collections
  380. Java program to create a set of Complex numbers using HashSet collections
  381. Java program to find the logarithmic value of a number
  382. Java program to find the logarithmic value of a number for base 10
  383. Java program to convert degree to radian using library method
  384. Java program to find the trigonometric sine of an angle
  385. Java program to find the trigonometric cosine of an angle
  386. Java program to find the trigonometric tangent of an angle
  387. Java program to find the trigonometric arc sine of an angle
  388. Java program to find the trigonometric arc cosine of an angle
  389. Java program to find the trigonometric arc tangent of an angle
  390. Java program to find the hyperbolic sine of an angle
  391. Java program to find the hyperbolic cosine of an angle
  392. Java program to find the hyperbolic tangent of an angle
  393. Java program to find the cube root of a number using library method
  394. Java program to find the absolute value of a number using library method
  395. Java program to find the smallest number between two numbers using the library method
  396. Java program to find the largest number between two numbers using the library method
  397. Java program to find the sign of given number using library method
  398. Java program to round off the decimal number using the library method
  399. Java program to perform the ceiling operation on the decimal number using the library method
  400. Java program to demonstrate the Math.copySign() method
  401. Java program to demonstrate the Math.floorDiv() method
  402. Java program to demonstrate the Math.addExact() method
  403. Java program to demonstrate the Math.subtractExact() method
  404. Java program to demonstrate the Math.multiplyExact() method
  405. Java program to convert radian to a degree using library method
  406. Java program to create a vector to store integer elements
  407. Java program to create a vector to store objects of a class
  408. Java program to create a vector to store different types of objects
  409. Java program to insert an item into Vector collection at the specified index
  410. Java program to replace an item into Vector collection at the specified index
  411. Java program to remove a specified item from Vector collection
  412. Java program to remove an item from Vector collection at the specified index
  413. Java program to count the items of a Vector collection
  414. Java program to add elements of a Vector to other Vector collection
  415. Java program to add elements of a vector to other vector collection at the specified position
  416. Java program to remove all elements of Vector collection
  417. Java program to create a clone of a Vector collection
  418. Java program to check whether a Vector collection contains a specified item or not
  419. Java program to check whether a Vector collection contains all elements of the specified collection or not
  420. Java program to copy elements of Vector collection into an array
  421. Java program to get element from Vector collection at the specified index
  422. Java program to get the enumeration of the values present in the Vector
  423. Java program to compare two Vector collections
  424. Java program to get elements from Vector collection based on an index
  425. Java program to get the Index of the first occurrence of the specified item in Vector collection
  426. Java program to get the Index of the last occurrence of the specified item in Vector collection
  427. Java program to check whether a Vector collection is empty or not
  428. Java program to get the first element of Vector using the firstElement() method
  429. Java program to get the last element of Vector using the lastElement() method
  430. Java program to iterate Vector collection using the iterator() method
  431. Java program to remove all elements of Vector collection contained in the specified collection
  432. Java program to remove all elements of Vector collection using removeAllElements() method
  433. Java program to remove the first occurrence of the specified element from Vector collection
  434. Java program to remove an element from Vector collection based on the specified index
  435. Java program to remove range on elements from Vector collection based on specified indices
  436. Java program to remove elements from Vector collection based on a specified predicate
  437. Java program to replace a specified element at all places with another element in Vector collection
  438. Java program to remove all elements of Vector collection that do not contain in the specified collection
  439. Java program to set an element at the specified index in Vector collection
  440. Java program to change the size of a Vector collection
  441. Java program to sort the elements of a Vector collection
  442. Java program to traverse the Vector collection using spliterator() method
  443. Java program to get the subList from the Vector collection
  444. Java program to convert a Vector collection into an Object array
  445. Java program to create an EnumSet collection
  446. Java program to create an EnumSet collection from all elements of an enum
  447. Java program to create a clone of an EnumSet collection
  448. Java program to get the complement of EnumSet collection
  449. Java program to create an EnumSet collection from an existing EnumSet collection
  450. Java program to create an empty EnumSet using noneOf() method
  451. Java program to create an EnumSet using the range() method
  452. Java program to check whether an EnumSet collection is empty or not
  453. Java program to compare two EnumSet collections
  454. Java program to add elements to EnumSet collection using add() method
  455. Java program to remove a specified element from EnumSet collection
  456. Java program to traverse and print EnumSet collection using 'foreach' loop
  457. Java program to get the size of the EnumSet collection
  458. Java program to remove all elements of EnumSet collection
  459. Java program to check an EnumSet collection contains a specified item
  460. Java program to add Elements of an EnumSet collection to the other EnumSet collection
  461. Java program to remove Elements of an EnumSet collection that exist in another EnumSet collection
  462. Java program to remove Elements of an EnumSet collection that does not exist in another EnumSet collection
  463. Java program to calculate factorial of a number using recursion
  464. Java program to print the Fibonacci series using recursion
  465. Java program to calculate the power of a number using recursion
  466. Java program to count the digits of a number using recursion
  467. Java program to find the sum of digits of a number using recursion
  468. Java program to reverse a given number using recursion
  469. Java program to check whether a given number is prime or not using recursion
  470. Java program to calculate the product of two numbers using recursion
  471. Java program to calculate the Highest Common Factor of two numbers using recursion
  472. Java program to calculate the Lowest Common Multiple of two numbers using recursion
  473. Java program to calculate the Greatest Common Divisor of two numbers using recursion
  474. Java program to convert a decimal number to its binary equivalent using recursion
  475. Java program to convert a decimal number to its octal equivalent using recursion
  476. Java program to convert decimal to hexadecimal using recursion
  477. Java program to convert a binary number to a decimal number using recursion
  478. Java program to create a TreeSet collection
  479. Java program to create a TreeSet collection using List collection
  480. Java program to check whether a TreeSet is empty or not
  481. Java program to remove all elements of TreeSet collection
  482. Java program to compare TreeSet collections
  483. Java program to add non-common elements of one TreeSet into another TreeSet collection
  484. Java program to get the ceiling item of specified value from TreeSet collection
  485. Java program to create the clone of the TreeSet collection
  486. Java program to check whether an item exists in a TreeSet collection or not
  487. Java program to iterate TreeSet collection in ascending order
  488. Java program to iterate TreeSet collection in descending order
  489. Java program to get the flooring item of specified value from TreeSet collection
  490. Java program to get the smallest item from the TreeSet collection
  491. Java program to get the largest item from the TreeSet collection
  492. Java program to get the elements from the TreeSet collection that are less than the specified item
  493. Java program to get the strictly greater element from TreeSet collection based on a given item
  494. Java program to get the strictly lower element from TreeSet collection
  495. Java program to get and remove the lowest element from the TreeSet collection
  496. Java program to get and remove the largest element from the TreeSet collection
  497. Java program to remove a specified item from the TreeSet collection
  498. Java program to get the size of a TreeSet collection
  499. Java program to get the subset of a TreeSet collection based on a specified range
  500. Java program to get the elements greater than and equal to the specified item from TreeSet Collection
  501. Java program to access elements from TreeSet Collection using spliterator() method
  502. Java program to construct a string with substrings separated by a delimiter
  503. Java program to call add() method in a cascaded manner from an object of StringJoiner class
  504. Java program to get the length of string Constructed by StringJoiner class
  505. Java program to merge two strings Constructed using StringJoiner class
  506. Java program to convert an object of StringJoiner class into a string
  507. Java program to create a HashMap to store Key/Value pair
  508. Java program to check whether a HashMap contains a specified Key or not
  509. Java program to check whether a HashMap contains a specified value or not
  510. Java program to get keys from a HashMap collection
  511. Java program to get the value based on the key from a HashMap collection
  512. Java program to get all the values from a HashMap collection
  513. Java program to get the size of the HashMap collection
  514. Java program to remove all elements from HashMap collection
  515. Java program to search a pattern into the string using regular expression
  516. Java program to search a pattern with case insensitive flag into the string using regular expression
  517. Java program to demonstrate the split() method of Pattern class
  518. Java program to count the occurrence of pattern matching in the string using regular expression
  519. Java program to find the start and end indices for all occurrences of pattern in the string using regular expression
  520. Java program to search a pattern into the string using the lookingAt() method
  521. Java program to replace a substring with another substring into the string at all places using regular expression

VB.Net

  1. Program to print Hello World in VB.NET
  2. VB.Net program to demonstrate the difference between Console.Write() and Console.WriteLine() methods
  3. VB.Net program to print backslash (\) character on the console screen
  4. VB.Net program to convert a double number into an integer number
  5. VB.Net program to convert different types of variables into the string
  6. VB.Net program to input and print an integer variable
  7. VB.Net program to demonstrate the bitwise operators
  8. VB.Net program to print the binary number of a decimal number
  9. VB.Net program to print the total bits required to store a given integer number
  10. VB.Net program to count the total number of high bits in a given integer number
  11. VB.Net program to demonstrate the left-shift operator (<<)
  12. VB.Net program to demonstrate the right-shift operator (>>)
  13. VB.Net program to perform BITWISE AND operation
  14. VB.Net program to perform BITWISE OR operation
  15. VB.Net program to perform BITWISE XOR operation
  16. VB.Net program to demonstrate the BITWISE NOT operator
  17. VB.Net program to perform the LOGICAL AND operation using the AndAlso operator
  18. VB.Net program to perform the LOGICAL OR operation using the OrElse operator
  19. VB.Net program to check the palindrome of the binary number using bitwise operators
  20. VB.Net program to check EVEN/ODD using bitwise operators
  21. VB.Net program to swap two numbers using a BITWISE XOR operator
  22. VB.Net program to check Nth bit of an integer number is SET or not
  23. VB.Net program to check the given number is EVEN or ODD using conditional operator
  24. VB.Net program to find the largest number between two numbers using a conditional operator
  25. VB.Net program to find the largest number among three numbers using conditional operator
  26. VB.Net program to check the given number is POSITIVE or NEGATIVE using conditional operator
  27. VB.Net program to check the given year is leap year or not using conditional operator
  28. VB.Net program to calculate the area of the circle
  29. VB.Net program to calculate the perimeter of the circle
  30. VB.Net program to calculate the area of the rectangle
  31. VB.Net program to calculate the Highest Common Factor (HCF)
  32. VB.Net program to calculate the multiplication of two numbers using the '+' operator
  33. VB.Net program to round off the value of the floating-point number
  34. VB.Net program to get a large value using Math.Max() method
  35. VB.Net program to get the smallest value using Math.Min() method
  36. VB.Net program to produce the full product of two 32-bit integer numbers
  37. VB.Net program to truncate the value of the floating-point number
  38. VB.Net program to find the angle for specified sine value
  39. VB.Net program to find the angle for specified cosine value
  40. VB.Net program to find the angle for specified tangent value
  41. VB.Net program to find the cosine value for the specified angle
  42. VB.Net program to find the sine value for the specified angle
  43. VB.Net program to find the tangent value for the specified angle
  44. VB.Net program to find the hyperbolic sine of the specified angle
  45. VB.Net program to find the hyperbolic cosine of the specified angle
  46. VB.Net program to find the hyperbolic tangent of the specified angle
  47. VB.Net program to demonstrate the Math.DivRem() method
  48. VB.Net program to demonstrate the Math.Exp() method
  49. VB.Net program to demonstrate the use of Math.IEEERemainder() method
  50. VB.Net program to find the logarithm value of a specified number
  51. VB.Net program to demonstrate the Math.Log10() method
  52. VB.Net program to find the sign of a specified number using Math.Sign() method
  53. VB.Net program to check leap year
  54. VB.Net program to check the given number is even or odd
  55. VB.Net program to compare two strings
  56. VB.Net program to find the division of a student based on a given percentage
  57. VB.Net program to demonstrate the use of 'select case'
  58. VB.Net program to demonstrate the use of 'select case' with a given range
  59. VB.Net program to use a comma ',' to use multiple options in 'select case'
  60. VB.Net program to demonstrate the nested 'select case'
  61. VB.Net program to demonstrate the duplicate case in the 'select case'
  62. VB.Net program to create a simple calculator using 'select case'
  63. VB.Net program to demonstrate the use of the GoTo statement
  64. VB.Net program to print the table of given number using GoTo statement
  65. VB.Net program to print the ASCII values of numbers from 1 to 5 using the GoTo statement
  66. VB.Net program to print the HEX values of numbers from 1 to 15 using the GoTo statement
  67. VB.Net program to print 1, 11, 31, 61, ..., 10 times using GoTo statement
  68. VB.Net program to read a name and print 5 times using GoTo statement
  69. VB.Net program to print the square of numbers from 1 to 5 using the GoTo statement
  70. VB.Net program to demonstrate the Mid() function
  71. VB.Net program to demonstrate the Trim() function
  72. VB.Net program to demonstrate the LTrim() function
  73. VB.Net program to demonstrate the RTrim() function
  74. VB.Net program to demonstrate the InStr() function
  75. VB.Net program to demonstrate the UCase() function
  76. VB.Net program to demonstrate the LCase() function
  77. VB.Net program to demonstrate the Chr() function
  78. VB.Net program to demonstrate the Asc() function
  79. VB.Net program to demonstrate the Hex() function
  80. VB.Net program to demonstrate the Oct() function
  81. VB.Net program to demonstrate the Fix() function
  82. VB.Net program to demonstrate the CInt() function
  83. VB.Net program to demonstrate the CSByte() function
  84. VB.Net program to demonstrate the CShort() function
  85. VB.Net program to demonstrate the CUShort() function
  86. VB.Net program to demonstrate the CByte() function
  87. VB.Net program to demonstrate the CSng() function
  88. VB.Net program to demonstrate the CDbl() function
  89. VB.Net program to demonstrate the CDec() function
  90. VB.Net program to demonstrate the CLng() function
  91. VB.Net program to demonstrate the CULng() function
  92. VB.Net program to demonstrate the CStr() function
  93. VB.Net program to print date and time in 'dd/mm/yyyy hh:mm:ss' format using Format() function
  94. VB.Net program to print date and time in 'day, month dd, yyyy' format using Format() function
  95. VB.Net program to print date and time in different formats using Format() function
  96. VB.Net program to print given number in different formats using Format() function
  97. VB.Net program to demonstrate the CBool() function
  98. VB.Net program to demonstrate the Val() function
  99. VB.Net program to demonstrate the GetChar() function
  100. VB.Net program to reverse the given number using the While loop
  101. VB.Net program to check the given number is palindrome or not using the While loop
  102. VB.Net program to count the digits of a given number using the While loop
  103. VB.Net program to check the given number is Armstrong or not using the While loop
  104. VB.Net program to print the table of given number using Do Loop While
  105. VB.Net program to print 1, 11, 31, 61, ... using Do Loop While
  106. VB.Net program to read a name and print 5 times using the Do Loop While
  107. VB.Net program to demonstrate the integer array
  108. VB.Net program to calculate the sum of all elements of an integer array
  109. VB.Net program to find the largest element from the array of integers
  110. VB.Net program to find the EVEN numbers from the array of integers
  111. VB.Net program to find the second largest elements from the array of integers
  112. VB.Net program to merge two integer arrays into a third array
  113. VB.Net program to reverse an integer array
  114. VB.Net program to find the prime numbers from the array of integers
  115. VB.Net program to find the smallest element from the array of integers
  116. VB.Net program to find the second smallest element from the array of integers
  117. VB.Net program to search an item in array using linear search
  118. VB.Net program to search an item in array using binary search
  119. VB.Net program to search an item in array using interpolation search
  120. VB.Net program to sort an array in ascending order using bubble sort
  121. VB.Net program to sort an array in ascending order using insertion sort
  122. VB.Net program to sort an array in descending order using bubble sort
  123. VB.Net program to sort an array in descending order using insertion sort
  124. VB.Net program to sort an array in ascending order using selection sort
  125. VB.Net program to sort an array in descending order using selection sort
  126. VB.Net program to implement quicksort using recursion
  127. VB.Net program to implement quicksort without using recursion
  128. VB.Net program to sort an integer array using Radix sort
  129. VB.Net program to cyclically permute the elements of an integer array
  130. VB.Net program to add two arrays
  131. VB.Net program to subtract one array from another array
  132. VB.Net program to swap adjacent elements of a one-dimensional array
  133. VB.Net program to find occurrences of items in a one-dimensional array
  134. VB.Net program to find the first repeated element in the one-dimensional array
  135. VB.Net program to delete a given element from the one-dimensional array
  136. VB.Net program to insert an item into a one-dimensional array
  137. VB.Net program to demonstrate the use of the dynamic array
  138. VB.Net program to demonstrate the use of the 'vbTab' constant
  139. VB.Net program to demonstrate the use of the 'vbCrLf' constant
  140. VB.Net program to read and print the matrix using a two-dimensional array
  141. VB.Net program to calculate the sum of MATRIX elements
  142. VB.Net program to calculate the sum of rows of MATRIX elements
  143. VB.Net program to calculate the sum of columns of MATRIX elements
  144. VB.Net program to print the transpose of Matrix
  145. VB.Net program to print the left diagonal of Matrix
  146. VB.Net program to print the right diagonal of Matrix
  147. VB.Net program to print the sum of right diagonal elements of Matrix
  148. VB.Net program to print the sum of left diagonal elements of Matrix
  149. VB.Net program to add two matrices
  150. VB.Net program to multiply two matrices
  151. VB.Net program to demonstrate the jagged array
  152. VB.Net program to demonstrate the 3D array
  153. VB.Net program to create a sub-routine to add two integer numbers
  154. VB.Net program to create a user-defined function to add two integer numbers
  155. VB.Net program to demonstrate the pass by value mechanism in user define sub-routine
  156. VB.Net program to demonstrate the pass by reference mechanism in user define sub-routine
  157. VB.Net program to demonstrate the optional parameter in the function
  158. VB.Net program to pass an array into user define the function
  159. VB.Net program to pass a structure into function
  160. VB.Net program to pass an object of class into function
  161. VB.Net program to return an array of integers from a user-defined function
  162. VB.Net program to return an object of structure from the user-defined function
  163. VB.Net program to return an object of the class from the user-defined function
  164. VB.Net program to demonstrate the recursive function
  165. VB.Net program to demonstrate the boxing
  166. VB.Net program to demonstrate the un-boxing
  167. VB.Net program to create a member function within the structure
  168. VB.Net program to the array of structures
  169. VB.Net program to create a constructor within the structure
  170. VB.Net program to demonstrate the structure within a structure
  171. VB.Net program to create a constant using const keyword
  172. VB.Net program to print the name of Enum constants
  173. VB.Net program to print the default initialized values of Enum constants
  174. VB.Net program to print the explicitly initialized values of Enum constants
  175. VB.Net program to create a global variable
  176. VB.Net program to create a simple class and object
  177. VB.Net program to create multiple objects of the class
  178. VB.Net program to create an array of objects of the class
  179. VB.Net program to create an empty class
  180. VB.Net program to create a class to add two distances
  181. VB.Net program to create a Student class and read and print Student detail
  182. VB.Net program to create an object of class inside another class
  183. VB.Net program to demonstrate the private methods inside the class
  184. VB.Net program to demonstrate the const and read-only data members
  185. VB.Net program to pass an object to the non-member function
  186. VB.Net | What is a NullReferenceException, and how do I fix it?
  187. VB.Net | How do you get a string from a MemoryStream?
  188. VB.Net | When should I use a List vs a LinkedList?
  189. VB.Net program to demonstrate the default or no-argument constructor
  190. VB.Net program to demonstrate the parameterized constructor
  191. VB.Net program to demonstrate the constructor overloading
  192. VB.Net program to demonstrate the constructor chaining
  193. VB.Net program to demonstrate the copy constructor
  194. VB.Net program to demonstrate the destructor
  195. VB.Net program to demonstrate the method of overloading based on the different number of arguments
  196. VB.Net program to demonstrate the method-overloading based on the different types of arguments
  197. VB.Net program to demonstrate the method overloading based on a different order of arguments
  198. VB.Net program to overload non-member functions
  199. VB.Net program to overload Main() function
  200. VB.Net program to demonstrate the method overloading with type promotion
  201. VB.Net program to demonstrate the method overloading with type demotion
  202. VB.Net program to demonstrate the simple inheritance
  203. VB.Net program to demonstrate the simple inheritance with constructors
  204. VB.Net program to demonstrate the simple inheritance with destructors
  205. VB.Net program to demonstrate the multi-level inheritance
  206. VB.Net program to demonstrate the tree or hierarchical inheritance
  207. VB.Net program to demonstrate the inheritance with the protected member
  208. VB.Net program to demonstrate the hybrid inheritance
  209. VB.Net program to demonstrate the simple inheritance with student information
  210. VB.Net program to demonstrate the simple interface
  211. VB.Net program to implement an interface in the structure
  212. VB.Net program to demonstrate the multiple-inheritance using the interface
  213. VB.Net program to demonstrate the multiple-inheritance using interface and structure
  214. VB.Net program to demonstrate the nested interface
  215. VB.Net program to demonstrate the interface inheritance
  216. VB.Net program to demonstrate the MustInherit class
  217. VB.Net program to demonstrate the NotInheritable class
  218. VB.Net program to override a base class method into derived class
  219. VB.Net program to call base class and derived class overridable method using base class reference
  220. VB.Net program to demonstrate the MyBase keyword
  221. VB.Net program to demonstrate the MustOverride keyword
  222. VB.Net program to demonstrate the abstract class
  223. VB.Net program to demonstrate the shared methods
  224. VB.Net program to demonstrate the shared data member of the class
  225. VB.Net program to count the total created objects using a shared member
  226. VB.Net program to create a user-defined namespace
  227. VB.Net program to create a user-defined namespace with structures
  228. VB.Net program to demonstrate the nested namespace
  229. VB.Net program to demonstrate the namespace with different complex types
  230. VB.Net program to create an alias of a namespace
  231. VB.Net program to demonstrate the 'Me' object
  232. VB.Net program to implement the cascaded method call
  233. VB.Net program to demonstrate the 'MyClass' keyword
  234. VB.Net program to demonstrate the 'Friend' keyword
  235. VB.Net program to overload unary minus (-) operator
  236. VB.Net program to overload binary plus (+) operator
  237. VB.Net program to overload 'Mod' operator
  238. VB.Net program to overload binary multiplication (*) operator
  239. VB.Net program to overload arithmetic operators
  240. VB.Net program to overload less than (<) and greater than (>) operator
  241. VB.Net program to overload equal to (=) and not equal to (<>) operators
  242. VB.Net program to overload less than equal to (<=) and greater than equal to (>=) operators
  243. VB.Net program to demonstrate Set and Get properties
  244. VB.Net program to implement ReadOnly property
  245. VB.Net program to implement WriteOnly property
  246. VB.Net program to demonstrate Set and Get properties with structure
  247. VB.Net program to demonstrate the indexer
  248. VB.Net program to demonstrate the default property
  249. VB.Net program to overload the property
  250. VB.Net program to demonstrate a simple delegate
  251. VB.Net program to demonstrate a simple delegate with non-member function
  252. VB.Net program to demonstrate a simple delegate with a method of a structure
  253. VB.Net program to call multiple methods using a single-cast delegate
  254. VB.Net program to demonstrate the multicast delegate
  255. VB.Net program to pass a method as a parameter using a delegate
  256. VB.Net program to overload the logical 'And' operator
  257. VB.Net program to overload the logical 'Or' operator
  258. VB.Net program to overload the logical 'Xor' operator
  259. VB.Net program to overload 'IsTrue' and 'IsFalse' operators
  260. VB.Net program to create a simple thread
  261. VB.Net program to create a thread pool
  262. VB.Net program to Pause a Thread
  263. VB.Net program to demonstrate the thread lock
  264. VB.Net program to kill a thread
  265. VB.Net program to set and print the name of the current thread
  266. VB.Net program to check the thread is alive or not
  267. VB.Net program to print the priority of the current thread
  268. VB.Net program to print the elapsed milliseconds of stopwatch using Thread.Sleep() method
  269. VB.Net program to assign the name of a thread
  270. VB.Net program to demonstrate the IndexOutOfRangeException
  271. VB.Net program to demonstrate the DivideByZeroException
  272. VB.Net program to demonstrate the multiple catch blocks
  273. VB.Net program to demonstrate the StackOverflowException
  274. VB.Net program to demonstrate the NullReferenceException
  275. VB.Net program to demonstrate the finally block in exception handling
  276. VB.Net program to create our own exception class
  277. VB.Net program to override the Message property of DivideByZeroException class
  278. VB.Net program to demonstrate StringReader class
  279. VB.Net program to demonstrate the StringWriter class
  280. VB.Net program to read all lines from a file using StreamReader class
  281. VB.Net program to read the content of a file character by character
  282. VB.Net program to demonstrate the MemoryStream class
  283. VB.Net program to get the size of a specified folder including a sub-folder
  284. VB.Net program to read the list of available disk drives
  285. VB.Net program to check an object is initialized or not
  286. VB.Net program to demonstrate the FileNotFoundException Exception
  287. VB.Net program to check a string is empty or not using IsNothing() function
  288. VB.Net program to check string contains a number or not
  289. VB.Net program to demonstrate the example of ArgumentNullException
  290. VB.Net program to demonstrate the example of ArgumentException
  291. VB.Net program to demonstrate the DirectoryNotFoundException
  292. VB.Net program to demonstrate the FormatException
  293. VB.Net program to demonstrate the InvalidOperationException
  294. VB.Net program to demonstrate the NotImplementedException
  295. VB.Net program to demonstrate the NotSupportedException
  296. VB.Net program to demonstrate the ObjectDisposedException
  297. VB.Net program to demonstrate the OverflowException
  298. VB.Net program to demonstrate the IOException
  299. VB.Net program to demonstrate the TimeoutException
  300. VB.Net program to demonstrate the BinaryReader and BinaryWriter class
  301. VB.Net program to write data into a text file
  302. VB.Net program to read data from a text file
  303. VB.Net program to append text into an already existing file
  304. VB.Net program to replace the content of one file with another file and create a backup file
  305. VB.Net program to delete a specified file
  306. VB.Net program to print file creation time
  307. VB.Net program to set file creation time
  308. VB.Net program to get attributes of the specified file
  309. VB.Net program to copy the content of one file to another file
  310. VB.Net program to set the attributes of the specified file
  311. VB.Net program to copy the content of one file to another file by overwriting the file
  312. VB.Net program to get the last access time of a specified file or directory
  313. VB.Net program to set the last access time of a specified file or directory
  314. VB.Net program to get the last access time of a specified file or directory in UTC format
  315. VB.Net program to set the last access time of a specified file or directory in UTC format
  316. VB.Net program to get the last write time of a specified file or directory
  317. VB.Net program to get the last write time of a specified file or directory in UTC format
  318. VB.Net program to set the last write time of a specified file
  319. VB.Net program to set the last write time of a specified file in UTC format
  320. VB.Net program to implement a stack
  321. VB.Net program to implement stack using structure
  322. VB.Net program to implement Double Stack
  323. VB.Net program to implement Double Stack using Structure
  324. VB.Net program to overload bitwise left shift (<<) operator
  325. VB.Net program to overload bitwise right shift (>>) operator
  326. VB.Net program to overload Not operator
  327. VB.Net program to overload exponential (^) operator
  328. VB.Net program to overload concatenates (&) operator
  329. VB.Net program to overload Like operator
  330. VB.Net program to implement Linear Queue
  331. VB.Net program to implement Linear Queue using Structure
  332. VB.Net program to implement Circular Queue
  333. VB.Net program to implement Circular Queue using Structure
  334. VB.Net program to push or insert the item into a stack using the collection
  335. VB.Net program to pop or delete an item from the stack using the collection
  336. VB.Net program to peek an item from the stack using the collection
  337. VB.Net program to delete all items from the stack using Collection
  338. VB.Net program to check given element exists in the stack or not using the collection
  339. VB.Net program to get the total number of items in the STACK using the collection
  340. VB.Net program to move a file from one location to another location
  341. VB.Net program to read all lines of a text file
  342. VB.Net program to write multiple lines to the text file
  343. VB.Net program to write multiple bytes into a file
  344. VB.Net program to read all bytes from a file
  345. VB.Net program to copy stack elements into an array using the collection
  346. VB.Net program to convert the Stack collection into an Object array
  347. VB.Net program to insert or enqueue the elements into QUEUE using the collection
  348. VB.Net program to delete an item from QUEUE using the collection
  349. VB.Net program to delete all items from Queue using the collection
  350. VB.Net program to count the total items in Queue collection
  351. VB.Net program to check the specified item is exits in the Queue collection or not
  352. VB.Net program to copy the queue elements into an array using the collection
  353. VB.Net program to convert the Queue collection into an Object array
  354. VB.Net program to get the element from the Queue without removing it
  355. VB.Net program to get all stack frames using StackTrace class
  356. VB.Net program to traverse the singly linked list
  357. VB.Net program to delete the given node from the singly linked list
  358. VB.Net program to implement the Tower of Hanoi problem
  359. VB.Net program to implement socket client
  360. VB.Net program to demonstrate the Join() method of String class
  361. VB.Net program to compare two dates
  362. VB.Net program to print yesterday's date
  363. VB.Net program to print tomorrow's date
  364. VB.Net program to print the difference of two times
  365. VB.Net program to print the difference of two dates in days
  366. VB.Net program to print the sum of two times
  367. VB.Net program to demonstrate the BinarySearch() method of Array class
  368. VB.Net program to demonstrate the Clear() method of Array class
  369. VB.Net program to demonstrate the ConstrainedCopy() method of Array class
  370. VB.Net program to demonstrate the Copy() method of Array class
  371. VB.Net program to demonstrate the IndexOf() method of Array class
  372. VB.Net program to demonstrate the LastIndexOf() method of Array class
  373. VB.Net program to demonstrate the ReferenceEquals() method of Array class
  374. VB.Net program to demonstrate the Resize() method of Array class
  375. VB.Net program to demonstrate the Reverse() method of Array class
  376. VB.Net program to demonstrate the Sort() method of Array class
  377. VB.Net program to demonstrate the Compare() method of String class
  378. VB.Net program to demonstrate the Concat() method of String class
  379. VB.Net program to demonstrate the Copy() method of the String class
  380. VB.Net program to demonstrate the Empty property of String class
  381. VB.Net program to demonstrate the Equals() method of String class
  382. VB.Net program to demonstrate the Intern() method of String class
  383. VB.Net program to demonstrate the IsNullorEmpty() method of String class
  384. VB.Net program to demonstrate the IsNullorWhitSpace() method of String class
  385. VB.Net program to demonstrate the Compare() method of DateTime class
  386. VB.Net program to demonstrate the DaysInMonth() method of DateTime class
  387. VB.Net program to demonstrate the Equals() method of DateTime class
  388. VB.Net program to demonstrate the ToBinary() method of DateTime class
  389. VB.Net program to demonstrate the FromBinary() method of DateTime class
  390. VB.Net program to demonstrate the IsLeapYear() method of DateTime class
  391. VB.Net program to demonstrate the MaxValue property of DateTime class
  392. VB.Net program to demonstrate the MinValue property of DateTime class
  393. VB.Net program to demonstrate the LINQ Query
  394. VB.Net program to demonstrate the LINQ Query with OrderBy
  395. VB.Net program to demonstrate the LINQ Query to arrange array elements in descending order
  396. VB.Net program to demonstrate the Average extension
  397. VB.Net program to demonstrate the Sum() extension method
  398. VB.Net program to demonstrate the Take() extension method
  399. VB.Net program to demonstrate the chain of extension methods of the 'System.Linq' namespace
  400. VB.Net program to demonstrate the LINQ Any() extension method with Function() to check an array contains a negative number or not
  401. VB.Net program to demonstrate the LINQ query with an extension method
  402. VB.Net program to demonstrate the FirstOrDefault() LINQ extension method
  403. VB.Net program to demonstrate the ElementAtOrDefault() LINQ extension method
  404. VB.Net program to demonstrate the Where clause in LINQ query
  405. VB.Net program to demonstrate the 'Where' clause with 'And' operator in LINQ query
  406. VB.Net program to demonstrate the multiple 'Where' clauses in LINQ query
  407. VB.Net program to demonstrate the Where() LINQ extension method
  408. VB.Net program to demonstrate the OfType operator in LINQ query
  409. VB.Net program to demonstrate the OfType() LINQ extension method
  410. VB.Net program to demonstrate the OrderBy() LINQ extension method
  411. VB.Net program to demonstrate the OrderByDescending() LINQ extension method
  412. VB.Net program to demonstrate the ThenBy() LINQ extension method
  413. VB.Net program to demonstrate the ThenByDescending() LINQ extension method
  414. VB.Net program to demonstrate the GroupBy clause in LINQ query
  415. VB.Net program to demonstrate the GroupBy() LINQ extension method
  416. VB.Net program to demonstrate the ToLookup() LINQ extension method
  417. VB.Net program to demonstrate the Join using LINQ query
  418. VB.Net program to select specified fields using LINQ query
  419. VB.Net program to select specified fields using Select() LINQ extension method
  420. VB.Net program to select specified fields using All() LINQ extension method
  421. VB.Net program to select specified fields using Any() LINQ extension method
  422. VB.Net program to demonstrate the custom aggregation using LINQ Aggregate() method
  423. VB.Net program to demonstrate the custom aggregation with seed value using LINQ Aggregate() method
  424. VB.Net program to demonstrate the LINQ Aggregate() method with result selector
  425. VB.Net program to demonstrate the LINQ Average() function using LINQ query syntax
  426. VB.Net program to demonstrate the LINQ Count() function using LINQ query syntax
  427. VB.Net program to demonstrate the LINQ Count() extension method
  428. VB.Net program to demonstrate the LINQ Max() extension method
  429. VB.Net program to demonstrate the LINQ Min() extension method
  430. VB.Net program to demonstrate the Min() function in LINQ query
  431. VB.Net program to demonstrate the Max() function in LINQ query
  432. VB.Net program to demonstrate the SequenceEqual() LINQ extension method
  433. VB.Net program to get the sequence of integer numbers within a specified range
  434. VB.Net program to generate the sequence that contains one repeated value
  435. VB.Net program to get distinct elements from the list using LINQ query
  436. VB.Net program to get distinct elements from the list using Distinct() LINQ extension method
  437. VB.Net program to demonstrate the Except() LINQ extension method
  438. VB.Net program to demonstrate the Intersect() LINQ extension method
  439. VB.Net program to demonstrate the Union() LINQ extension method
  440. VB.Net program to demonstrate the Skip() LINQ extension method
  441. VB.Net program to skip given number of records from a collection using LINQ query
  442. VB.Net program to demonstrate the 'skip while' operator in LINQ query syntax
  443. VB.Net program to demonstrate the SkipWhile() LINQ extension method
  444. VB.Net program to demonstrate the TakeWhile() LINQ extension method
  445. VB.Net program to demonstrate the Let keyword in LINQ query syntax
  446. VB.Net program to create an empty XML file
  447. VB.Net program to create an XML file with employee data
  448. VB.Net program to get the MySQL version
  449. VB.Net program to create a database in MySql dynamically
  450. VB.Net program to create a table in MySql database dynamically
  451. VB.Net program to get the Mysql version using the 'Select' statement
  452. VB.Net program to drop a table from the MySql database dynamically
  453. VB.Net program to insert a record in the MySql database
  454. VB.Net program to print the column name of a specified MySql database table
  455. VB.Net program to get the records of a specified MySql database table
  456. VB.Net find output programs (Data Types) | set 1
  457. VB.Net find output programs (Data Types) | set 2
  458. VB.Net find output programs (Data Types) | set 3
  459. VB.Net find output programs (Data Types) | set 4
  460. VB.Net find output programs (Data Types) | set 5

Linux Shell Script

  1. Linux shell script program to create and print the value of variables
  2. Linux shell script program to add two numbers
  3. Linux shell script program to swap two numbers
  4. Linux shell script program to read two integer numbers and print the subtraction of both variables
  5. Linux shell script program to multiply two numbers
  6. Linux shell script program to print program name using command line argument
  7. Linux shell script program to add two numbers using command line arguments
  8. Linux shell script program to execute 'ls' command
  9. Linux shell script program to demonstrate the '$#' variable
  10. Linux shell script program to print the current process id

Golang

  1. Golang program to print Hello World
  2. Golang program to add two integer numbers
  3. Golang program to find the average of three numbers
  4. Golang program to swap two integer numbers
  5. Golang program to read and print an integer variable
  6. Golang program to demonstrate the use of Printf() and Scanf() function
  7. Golang program to get the ASCII value of a character
  8. Golang program to print the absolute value of float number
  9. Golang program to print the absolute value for an integer number
  10. Golang program to calculate the power of a number using the Pow() function
  11. Golang program to find the largest number between two numbers using math.Max() function
  12. Golang program to find the smallest number between two numbers using math.Min() function
  13. Golang program to demonstrate the math.Ceil() function
  14. Golang program to demonstrate the math.Floor() function
  15. Golang program to find the remainder for floating-point numbers using math.Mod() function
  16. Golang program to check given number is EVEN or ODD
  17. Golang program to check given number is positive or negative
  18. Golang program to check given year is a leap year or not
  19. Golang program to find the largest number between two numbers
  20. Golang program to find the largest number among three numbers
  21. Golang program to convert the Fahrenheit to Celsius
  22. Golang program to convert the Celsius to Fahrenheit
  23. Golang program to demonstrate the bitwise Left Shift (<<) operator
  24. Golang program to demonstrate the bitwise Right Shift (>>) operator
  25. Golang program to demonstrate the BITWISE AND (&) operator
  26. Golang program to demonstrate the BITWISE OR (|) operator
  27. Golang program to demonstrate the BITWISE OR (|) operator
  28. Golang program to demonstrate the BITWISE XOR (^) operator
  29. Golang program to demonstrate the NOT (!) operator
  30. Golang program to calculate the area of the circle
  31. Golang program to calculate the perimeter of the circle
  32. Golang program to calculate the area of the Rectangle
  33. Golang program to demonstrate the switch case with optional statement and expression
  34. Golang program to demonstrate the switch case without optional statement and expression
  35. Golang program to demonstrate the switch case with expression
  36. Golang program to use the expression in the case statement
  37. Golang program to create a simple calculator using switch case
  38. Golang program to calculate the Highest Common Factor (HCF)
  39. Golang program to calculate the multiplication of two numbers using the '+' operator
  40. Golang program to demonstrate the 'const' keyword
  41. Golang program to print 'Hello World' 5 times using the goto statement
  42. Golang program to print the table of the given number using the goto statement
  43. Golang program to read the name and print it 5 times using the goto statement
  44. Golang program to print the Hex value of numbers from 1 to 100 using the goto statement
  45. Golang program to print the Octal value of numbers from 1 to 100 using the goto statement
  46. Golang program to print the ASCII value of specified string using the goto statement
  47. Golang program to calculate the factorial of a given number using goto statement
  48. Golang program to calculate the power of a given number using goto statement
  49. Golang program to reverse the given number using goto statement
  50. Golang program to check the given number is palindrome or not using goto statement
  51. Golang program to check the given number is an Armstrong number or not using goto statement
  52. Golang program to print Fibonacci series using goto statement
  53. Golang program to check the given number is a Prime Number or not using goto statement
  54. Golang program to check the given number is the perfect number or not using goto statement
  55. Golang program to print table of a given number using for loop
  56. Golang program to print the tables up to given number using for loop
  57. Golang program to calculate the factorial of given number using for loop
  58. Golang program to calculate the power of a given number using the for loop
  59. Golang program to calculate the reverse of the given number using the for loop
  60. Golang program to find the given number is palindrome or not using for loop
  61. Golang program to find the given number is Armstrong or not using for loop
  62. Golang program to print Fibonacci series using for loop
  63. Golang program to check the given number is Prime or not using the for loop
  64. Golang program to check the given number is a perfect number or not using the for loop
  65. Golang program to demonstrate infinite loop without any variable using for loop
  66. Golang program to demonstrate for loop as while loop to print number from 1 to 10
  67. Golang program to demonstrate the for loop using the map
  68. Golang program to demonstrate the for loop using the channel
  69. Golang program to demonstrate the break statement in the for loop
  70. Golang program to demonstrate the continue statement in the for loop
  71. Golang program to demonstrate the for loop as a for each loop
  72. Golang program to demonstrate Sizeof() operator
  73. Golang program to demonstrate the example of an Array
  74. Golang program to demonstrate the shorthand declaration of an Array
  75. Golang program to create an array without specifying its size
  76. Golang program to get the size of the array
  77. Golang program to print the array elements without using the loop
  78. Golang program to create an array with the existing array
  79. Golang program to compare two arrays using equal to (==) operator
  80. Golang program to calculate the sum of all array elements
  81. Golang program to find the largest elements from the array
  82. Golang program to find the second largest elements from the array
  83. Golang program to print even numbers of the array
  84. Golang program to merge two arrays into third array
  85. Golang program to reverse an integer array
  86. Golang program to print the prime numbers from an integer array
  87. Golang program to search an item in the array using linear search
  88. Golang program to search an item in the array using binary search
  89. Golang program to search an item in the array using interpolation search
  90. Golang program to sort an integer array in ascending order using bubble sort
  91. Golang program to sort an integer array in descending order using bubble sort
  92. Golang program to sort an integer array in ascending order using insertion sort
  93. Golang program to sort an integer array in descending order using insertion sort
  94. Golang program to sort an integer array in ascending order using selection sort
  95. Golang program to sort an integer array in descending order using selection sort
  96. Golang program to add two integer arrays
  97. Golang program to swap adjacent elements of a one-dimensional array
  98. Golang program to find the occurrence of an item in the array
  99. Golang program to find the first repeated element in the array
  100. Golang program to delete a given item from the array
  101. Golang program to insert an item in the array
  102. Golang program to read and print matrix using the two-dimensional matrix
  103. Golang program to calculate the sum of matrix elements
  104. Golang program to calculate the sum of rows elements of the matrix
  105. Golang program to calculate the sum of columns elements of matrix elements
  106. Golang program to print the Transpose of a matrix
  107. Golang program to print the left diagonal of the matrix
  108. Golang program to print the right diagonal of the matrix
  109. Golang program to print the sum of left diagonal elements of the matrix
  110. Golang program to print the sum of right diagonal elements of the matrix
  111. Golang program to add two matrices
  112. Golang program to multiply two matrices
  113. Golang program to demonstrate the multidimensional array
  114. Golang program to check a string contains a specified substring
  115. Golang program to convert specified string in uppercase
  116. Golang program to convert specified string in lowercase
  117. Golang program to get the index of a specified character in the string
  118. Golang program to get the length of the specified string
  119. Golang program to split the string using a specified delimiter
  120. Golang program to demonstrate the strings.Repeat() function
  121. Golang program to demonstrate the strings.Replace() function
  122. Golang program to demonstrate the strings.Join() function
  123. Golang program to check the specified substring is the prefix of the given string
  124. Golang program to check the specified substring is the suffix of the given string
  125. Golang program to count the total occurrences of a specified character in the specified string
  126. Golang program to demonstrate the implementation of structure
  127. Golang program to initialize the object of structure in a single line
  128. Golang program to print the object of structure
  129. Golang program to get the size of structure using Sizeof() operator
  130. Golang program to demonstrate the array of the structure
  131. Golang program to demonstrate the structure within a structure
  132. Golang program to demonstrate the use of the 'type' keyword
  133. Golang program to create a user-defined function
  134. Golang program to create a user-defined function to add two integer numbers
  135. Golang program to demonstrate the call by value mechanism in a user-defined function
  136. Golang program to demonstrate the call by reference mechanism in a user-defined function
  137. Golang program to pass an array in a user-defined function
  138. Golang program to return an array from a user-defined function
  139. Golang program to pass a structure to the user-defined function
  140. Golang program to return a structure from the user-defined function
  141. Golang program to return multiple values from a user-defined function
  142. Golang program to demonstrate the function closure
  143. Golang program to implement a user-defined function as a method
  144. Golang program to pass the pointer variables in a user-defined function
  145. Golang program to demonstrate the recursion
  146. Golang program to calculate the factorial using recursion
  147. Golang program to print the Fibonacci series using recursion
  148. Golang program to calculate the power of a given number using recursion
  149. Golang program to count digits of given number using recursion
  150. Golang program to calculate the sum of all digits of a given number using recursion
  151. Golang program to demonstrate the pointer
  152. Golang program to demonstrate the pointer to pointer
  153. Golang program to demonstrate the float pointer
  154. Golang program to demonstrate pointer to an array
  155. Golang program to demonstrate pointer to a structure
  156. Golang program to demonstrate the comparison of pointers
  157. Golang program to find the IEEE 754 representation using math.Float64bits() function of given number
  158. Golang program to demonstrate the 'defer' keyword
  159. Golang program to demonstrate the 'defer' keyword to add two numbers
  160. Golang program to convert a numerical string into an integer number
  161. Golang program to convert the string into float number using ParseFloat() function
  162. Golang program to convert a float number into an integer number
  163. Golang program to convert 64-bit float number into 32-bit float number
  164. Golang program to convert 64-bit integer number into a 32-bit integer number
  165. Golang program to convert a 32-bit integer number into a 64-bit integer number
  166. Golang program to convert a 32-bit integer number into byte number
  167. Golang program to convert a 64-bit integer number into byte number
  168. Golang program to convert a 32-bit float number into byte number
  169. Golang program to convert a 64-bit float number into byte number
  170. Golang program to create a slice from an integer array
  171. Golang program to find the length of a slice
  172. Golang program to find the capacity of a slice
  173. Golang program to demonstrate the different ways to create slices
  174. Golang program to create a new slice from the existing slice
  175. Golang program to create a slice using the make() function
  176. Golang program to iterate a slice using 'range' in 'for' loop
  177. Golang program to iterate a slice using a range in 'for' loop without index
  178. Golang program to create and modify created slice
  179. Golang program to sort a slice of integer in ascending order
  180. Golang program to sort a slice of strings in ascending order
  181. Golang program to check a specified slice of integers is sorted or not
  182. Golang program to check a specified slice of strings is sorted or not
  183. Golang program to sort a slice of 64-bit floating-point numbers in ascending order
  184. Golang program to check a specified slice of 64-bit floating-point numbers is sorted or not
  185. Golang program to search an item in ascending order sorted slice
  186. Golang program to search an item in descending order sorted slice
  187. Golang program to search a floating-point number in a sorted slice using SearchFloat64s() function
  188. Golang program to search an integer item in a sorted slice using SearchInts() function
  189. Golang program to search a string in a sorted slice using SearchStrings() function
  190. Golang program to get characters from a string using the index
  191. Golang program to print ASCII value of characters of the string
  192. Golang program to trim space from both ends of string using TrimSpace() function
  193. Golang program to trim specified characters from a string using Trim() function
  194. Golang program to trim specified characters from the left side of string using TrimLeft() function
  195. Golang program to trim specified characters from the right side of string using TrimRight() function
  196. Golang program to demonstrate the strings.Compare() function
  197. Golang program to demonstrate the strings.ContainsAny() function
  198. Golang program to check a specified string contains a Unicode code point
  199. Golang program to match two same strings in different cases
  200. Golang program to get the index of a specified character in the specified string
  201. Golang program to get the index of last occurrence of specified substring in specified string
  202. Golang program to get the index of last occurrence of specified character in specified string
  203. Golang program to replace all specified substrings by given substring
  204. Golang program to convert the specified string into title case
  205. Golang program to get current date and time
  206. Golang program to get the date, month, year in different variables using Date() function
  207. Golang program to print date and time in different formats using format constants
  208. Golang program to print individual elements of date and time using the inbuilt function
  209. Golang program to demonstrate the AddDate() function
  210. Golang program to compare a specified date comes after another date or not
  211. Golang program to compare a specified date comes before another date or not
  212. Golang program to pause program execution for the specified duration
  213. Golang program to find the difference between two times
  214. Golang program to demonstrate the ParseDuration() function
  215. Golang program to add given number of days to the specified date
  216. Golang program to add given number of hours to the specified time
  217. Golang program to check two dates are equal or not
  218. Golang program to get the Weekday of the specified date
  219. Golang program to convert a date-time object into a string
  220. Golang program to compare two dates
  221. Golang program to print tomorrow's date
  222. Golang program to print yesterday's date
  223. Golang program to demonstrate the hours() function
  224. Golang program to demonstrate the Minutes() function
  225. Golang program to demonstrate the Nanoseconds() function
  226. Golang program to demonstrate the Seconds() function
  227. Golang program to print date and time according to the specified location
  228. Golang program to print all months using predefined constants
  229. Go program to demonstrate a simple Goroutine
  230. Go program to call a Goroutine with another normal function concurrently
  231. Go program to create an anonymous Goroutine
  232. Go program to demonstrate the multiple Goroutines
  233. Golang program to get the type of specified variable
  234. Golang program to demonstrate the reflect.NumField() function
  235. Golang program to demonstrate the use of fallthrough keyword
  236. Golang program to demonstrate the errors.New() function
  237. Golang program to create a simple map
  238. Golang program to delete an item from a map
  239. Golang program to count the items of a map
  240. Golang program to create a copy of the map
  241. Golang program to iterate map elements using the range
  242. Golang program to iterate different types of data structures using the range
  243. Golang program to demonstrate the variadic function
  244. Golang program to create a function with the variable number of arguments to calculate the sum of all arguments
  245. Golang program to pass a slice of integers in a variadic function
  246. Golang program to demonstrate the panic() function
  247. Golang program to terminate the program with a specified exit code
  248. Golang program to recover program after panic condition
  249. Golang program to create a simple channel
  250. Golang program to create the buffered channel
  251. Golang program to pass buffered channel into a user-defined function
  252. Golang program to receive items from a channel using the loop
  253. Golang program to create the unidirectional channel
  254. Golang program to print the type of channel
  255. Golang program to convert bidirectional channel into the unidirectional channel
  256. Golang program to print the capacity of channels
  257. Golang program to print the length of channels
  258. Golang program to check the channel is empty or not
  259. Golang program to demonstrate the channel with select statement
  260. Golang program to demonstrate the channel with switch block
  261. Golang program to create an array of channels
  262. Golang program to create a text file
  263. Golang program to write and read data from a text file
  264. Golang program to create an empty file
  265. Golang program to get the size of an existing file in bytes
  266. Golang program to print the permissions of the existing file
  267. Golang program to print the last modified time of an existing file
  268. Golang program to check the specified file is a directory or not
  269. Golang program to rename a specified file with a new name
  270. Golang program to delete a specified file
  271. Golang program to open a file in read-only mode
  272. Golang program to open a file in append mode
  273. Golang program to check a specified file is exists or not
  274. Golang program to set file permission
  275. Golang program to change the ownership of the file in the Linux operating system
  276. Golang program to truncate the data of the file
  277. Golang program to create a copy of the existing file
  278. Golang program to commit or sync data into memory disk
  279. Golang program to write data bytes into a file
  280. Golang program to read bytes from the file
  281. Golang program to demonstrate the Seek() function to random access from the file
  282. Golang program to write data into a file in a single line
  283. Golang program to read data from the file in a single line
  284. Golang program to get the size of the file using Seek() function
  285. Golang program to print the current user id
  286. Golang program to print the group id of the current process
  287. Golang program to write data into the file using buffer writer
  288. Golang program to get the buffered size using buffer writer
  289. Golang program to get the available buffer size of buffer writer
  290. Golang program to reset the buffer writer
  291. Golang program to get the default buffer writer size
  292. Golang program to change the buffer writer size
  293. Golang program to create a simple buffer reader
  294. Golang program to read one byte from the file using buffer reader ReadByte() function
  295. Golang program to read data from the file using buffer reader Read() function
  296. Golang program to read data from file till specified character using pre-defined function
  297. Golang program to read data line by line from file using scanner
  298. Golang program to read data from file word by word using the scanner
  299. Golang program to create an empty zip file
  300. Golang program to create a zip file containing a text file
  301. Golang program to create a temp directory in the '/tmp' directory
  302. Golang program to create a temp directory at the specified path
  303. Golang program to create a temp file in the specified temp directory
  304. Golang program to write a structure of binary data into the file
  305. Golang program to read a structure from the file
  306. Golang program to create a specified directory with specified permission
  307. Golang program to create multiple directories with specified permission
  308. Golang program to delete an empty directory
  309. Golang program to list the content of the specified directory
  310. Golang program to read the content of a specified directory and check directories and files
  311. Golang program to demonstrate the command line arguments
  312. Golang program to find the count of command-line arguments
  313. Golang program to parse a command line flag of string type
  314. Golang program to parse a command line flag of integer type
  315. Golang program to parse multiple command-line flags
  316. Golang program to parse command flags with command line arguments
  317. Golang program to check a specified string is started with a given character using regular expression
  318. Golang program to check a specified string pattern within a specified string using regular expression
  319. Golang program to demonstrate the regular expression function FindString()
  320. Golang program to demonstrate the regular expression function FindStringIndex()
  321. Golang program to demonstrate the regular expression function FindStringSubmatch()
  322. Golang program to demonstrate the regular expression function FindStringSubmatchIndex()
  323. Golang program to demonstrate the regular expression function FindAllString()
  324. Golang program to demonstrate the regular expression function FindAllStringSubmatchIndex()
  325. Golang program to demonstrate the regular expression function ReplaceAllString()
  326. Golang program to find a specified string pattern within a byte array using regular expression
  327. Golang program to encode Boolean, integer, and float data using json.Marshal() function
  328. Golang program to encode a string array using json.Marshal() function
  329. Golang program to encode a map using json.Marshal() function
  330. Golang program to encode a structure using json.Marshal() function
  331. Golang program to decode a JSON string using Unmarshal() function
  332. Golang program to print the Boolean value using format specifier in fmt.Printf() function
  333. Golang program to print the type of specified variable using format specifier in printf() function
  334. Golang program to print the binary value of a specified number using format specifier in printf() function
  335. Golang program to print the octal value of a specified number using format specifier in Printf() function
  336. Golang program to print the hexadecimal value of a specified number using format specifier in printf() function
  337. Golang program to print the floating-point value in scientific notation
  338. Golang program to print the string in double-quotes using format specifier
  339. Golang program to print the variable address using '%p' format specifier
  340. Golang program to demonstrate the fmt.Scan() function
  341. Golang program to print '%' on the console screen using fmt.printf() function
  342. Golang program to demonstrate the fmt.Sprintf() function
  343. Golang program to demonstrate the io.WriteString() function
  344. Golang program to demonstrate the fmt.Sscanf() function
  345. Golang program to get the hostname of the computer
  346. Golang program to demonstrate the os.Exit() function
  347. Golang program to get path separator using os.PathSeparator constant
  348. Golang program to get the null device
  349. Golang program to print environment detail
  350. Golang program to print the value of specified environment variable
  351. Golang program to print the value of environment variable using os.LookupEnv()
  352. Golang program to set the value of environment variable
  353. Golang program to unset the value of environment variable
  354. Golang program to demonstrate the os.Expand() function
  355. Golang program to demonstrate the os.ExpandEnv() function
  356. Golang program to get the user's home directory
  357. Golang program to get the information about the current user
  358. Golang program to get the current working directory using os.Getwd() function
  359. Golang program to change the current working directory using os.Chdir() function
  360. Golang program to convert a specified numeric string into integer using strconv.Atoi() function
  361. Golang program to convert a specified integer number to a numeric string using strconv.Itoa() function
  362. Golang program to convert a specified string into Boolean value
  363. Golang program to convert a Boolean value to string
  364. Golang program to convert a signed integer value to a hexadecimal string
  365. Golang program to convert an unsigned integer value to a hexadecimal string
  366. Golang program to convert a 64-bit float value to a hexadecimal string and scientific notation string
  367. Golang program to demonstrate the log.Print() function
  368. Golang program to demonstrate the log.Printf() function
  369. Golang program to demonstrate the log.Fatal() function
  370. Golang program to demonstrate the log.Fatalf() function
  371. Golang program to demonstrate the log.Panic() function
  372. Golang program to demonstrate the log.Panicf() function
  373. Golang program to write log into specified file using log.SetOutput() function
  374. Golang program to demonstrate the log.SetPrefix() function
  375. Golang program to set date and time flags using log.SetFlags() for log messages
  376. Golang program to add the full path of program file in log message as a prefix using log.SetFlags() function
  377. Golang program to add program filename in log message as a prefix using log.SetFlags() function
  378. Golang program to set the standard flags for timestamp as a prefix in the log message
  379. Golang program to implement the ticker for every second
  380. Golang program to implement the multiple tickers
  381. Golang program to print the received value from the ticker
  382. Golang program to implement a global ticker
  383. Golang program to perform some other activities with the ticker
  384. Golang program to stop a ticker explicitly
  385. Golang program to implement the timer
  386. Golang program to implement the timer with go function
  387. Golang program to stop the timer explicitly
  388. Python program to find uncommon words from two string
  389. Python program to print URL from a string
  390. Golang program to demonstrate the rand.Intn() function
  391. Golang program to demonstrate the rand.Seed() function
  392. Golang program to generate the slice of random numbers
  393. Golang program to shuffle words of a string
  394. Golang program to print the number of leading zeros in an 8-bit binary number
  395. Golang program to print the number of leading zeros in a 32-bit binary number
  396. Golang program to print the number of leading zeros in a 64-bit binary number
  397. Golang program to print the minimum number of bits required to represent a number
  398. Golang program to print the minimum number of bits required to represent an 8, 16, 32, 64 bits number
  399. Golang program to print the counts of 1's in a binary number
  400. Golang program to print the counts of 0's in a binary number
  401. Golang program to get the reverse of the specified binary number
  402. Golang program to rotate specified bits of the binary number in the left/right direction
  403. Golang program to print the trailing zeros in the binary number
  404. Golang program to generate the random number of integer types
  405. Golang program to generate the random number of integer types between two numbers
  406. Golang program to generate the random number of float types
  407. Golang program to generate the random number based on current time as a source value
  408. Golang program to add value to a 32-bit integer in an uninterruptible manner
  409. Golang program to add value to a 64-bit integer in an uninterruptible manner
  410. Golang program to add value to a 32-bit unsigned integer in an uninterruptible manner
  411. Golang program to add value to a 64-bit unsigned integer in an uninterruptible manner
  412. Golang program to add value to a uintprt variable in an uninterruptible manner
  413. Golang program to demonstrate the atomic.LoadInt32() function
  414. Golang program to demonstrate the atomic.LoadInt64() function
  415. Golang program to demonstrate the SIGINT signal
  416. Golang program to handle different types of signals
  417. Golang program to check specified shell command exists or not
  418. Golang program to execute a specified shell command without options
  419. Golang program to execute a specified shell command with specified option
  420. Golang program to execute a specified shell command with multiple options
  421. Golang program to execute the specified shell script
  422. Golang program to execute a specified executable/binary file
  423. Golang Basics | Find output programs | Set 1
  424. Golang Basics | Find output programs | Set 2
  425. Golang Basics | Find output programs | Set 3
  426. Golang Basics | Find output programs | Set 4
  427. Golang Basics | Find output programs | Set 5
  428. Golang If/Else | Find Output Programs | Set 1
  429. Golang If/Else | Find Output Programs | Set 2
  430. Golang Switch | Find Output Programs | Set 1
  431. Golang Switch | Find Output Programs | Set 2
  432. Golang goto, break, continue | Find Output Programs | Set 1
  433. Golang goto, break, continue | Find Output Programs | Set 2
  434. Golang const, Type Casting | Find Output Programs | Set 1
  435. Golang const, Type Casting | Find Output Programs | Set 2
  436. Golang for Loop | Find Output Programs | Set 1
  437. Golang for Loop | Find Output Programs | Set 2
  438. Golang for Loop | Find Output Programs | Set 3
  439. Golang Functions | Find Output Programs | Set 1
  440. Golang Functions | Find Output Programs | Set 2
  441. Golang Recursion | Find Output Programs | Set 1
  442. Golang Recursion | Find Output Programs | Set 2
  443. Golang Strings | Find Output Programs | Set 1
  444. Golang Strings | Find Output Programs | Set 2
  445. Golang Closures | Find Output Programs | Set 1
  446. Golang Closures | Find Output Programs | Set 2
  447. Golang Arrays | Find Output Programs | Set 1
  448. Golang Arrays | Find Output Programs | Set 2
  449. Golang Arrays | Find Output Programs | Set 3
  450. Golang Structures | Find Output Programs | Set 1
  451. Golang Structures | Find Output Programs | Set 2
  452. Golang Pointers | Find Output Programs | Set 1
  453. Golang Pointers | Find Output Programs | Set 2
  454. Golang Conversions | Find Output Programs | Set 1
  455. Golang Conversions | Find Output Programs | Set 2
  456. Golang Date & Time | Find Output Programs | Set 1
  457. Golang Date & Time | Find Output Programs | Set 2
  458. Golang Goroutine, Map, and Reflection | Find Output Programs | Set 1
  459. Golang Goroutine, Map, and Reflection | Find Output Programs | Set 2
  460. Golang Goroutine, Map, and Reflection | Find Output Programs | Set 3
  461. Golang Goroutine, Map, and Reflection | Find Output Programs | Set 4

Scala

  1. Scala program to print 'Hello World'
  2. Scala program to create the mutable variable
  3. Scala program to create an immutable variable
  4. Scala program to create different types of variables
  5. Scala program to print the value of variables using printf() function
  6. Scala program to print the value of the Boolean variable using printf() function
  7. Scala program to print the hexadecimal value of a number
  8. Scala program to print the octal value of a number
  9. Scala program to read and print the value of the string
  10. Scala program to read the value of integer variable
  11. Scala program to read the value of float variable
  12. Scala program to read the value of character variable
  13. Scala program to find the largest number between two numbers using ternary operator
  14. Scala program to find the largest number among three numbers using ternary operator
  15. Scala program to check whether a given number is EVEN or ODD using ternary operator
  16. Scala program to print the ASCII value of the corresponding character
  17. Scala program to print the type of the variable
  18. Scala program to demonstrate the match statement
  19. Scala program to return match case value from a method
  20. Scala program to read a weekday number and print weekday name using match case
  21. Scala program to check the given character is vowel and consonant
  22. Scala program to implement an arithmetic calculator using a match case
  23. Scala program to calculate the area of the circle
  24. Scala program to calculate the perimeter of the circle
  25. Scala program to calculate the area of the rectangle
  26. Scala program to multiply two numbers using the plus (+) operator
  27. Scala program to calculate the Highest Common Factor (HCF)
  28. Scala program to demonstrate the bitwise left-shift (<<) operator
  29. Scala program to demonstrate the bitwise right-shift (>>) operator
  30. Scala program to demonstrate the Bitwise AND (&) Operator
  31. Scala program to demonstrate the Bitwise OR (|) Operator
  32. Scala program to demonstrate the Bitwise XOR (^) Operator
  33. Scala program to demonstrate the 1's complement (~) Operator
  34. Scala program to find the square root of a number
  35. Scala program to calculate the power of a number
  36. Scala program to find the largest number using scala.math.max() function
  37. Scala program to find the smallest number using scala.math.min() function
  38. Scala program to perform ceiling operation on given number using scala.math.ceil() function
  39. Scala program to perform floor operation on given number using scala.math.floor() function
  40. Scala program to get the natural logarithm of a Double number using scala.math.log() function
  41. Scala program to get the base 10 logarithm of a Double number using scala.math.log10() function
  42. Scala program to get the Euler's number e raised to the power of a Double number using scala.math.exp() function
  43. Scala program to get the absolute value of a given number using scala.math.abs() function
  44. Scala program to calculate the cube root of a given number using scala.math.cbrt() function
  45. Scala program to calculate the IEEE remainder of given numbers using scala.math.IEEEremainder() function
  46. Scala program to convert the angle measured radian to a degree using scala.math.toDegrees() function
  47. Scala program to convert the angle measured in the degree to radian using scala.math.toRadians() function
  48. Scala program to print numbers from 1 to 10 using while, do-while, and for loop
  49. Scala program to implement infinite loop using while and do-while loop
  50. Scala program to demonstrate the nested while and do-while loop
  51. Scala program to demonstrate the break statement in while and do-while loop
  52. Scala program to execute do-while loop at least 1 time on false condition
  53. Scala program to demonstrate the until keyword in for loop
  54. Scala program to filter the loop counter using if condition in for loop
  55. Scala program to demonstrate the yield keyword in the for loop
  56. Scala program to implement the foreach loop
  57. Scala program to iterate the list collection using the for loop
  58. Scala program to implement a one-dimensional array using Array() function
  59. Scala program to create an integer array using the new keyword
  60. Scala program to access array elements using foreach loop
  61. Scala program to get the size of an array
  62. Scala program to concatenate two integer arrays
  63. Scala program to create an array of strings
  64. Scala program to calculate the sum of array elements
  65. Scala program to find the largest element from the array
  66. Scala program to find the second largest element from the array
  67. Scala program to find the EVEN numbers from the array
  68. Scala program to merge two integer arrays into a third array
  69. Scala program to reverse an integer array
  70. Scala program to find the prime numbers from the array
  71. Scala program to search an item into the array using linear search
  72. Scala program to search an item into the array using binary search
  73. Scala program to search an item into the array using interpolation search
  74. Scala program to sort an array in ascending order using selection sort
  75. Scala program to sort an array in descending order using selection sort
  76. Scala program to sort an array in ascending order using quicksort with recursion
  77. Scala program to sort an array using merge sort
  78. Scala program to Cyclically Permutes the Elements of an Array
  79. Scala program to delete an item from the array
  80. Scala program to insert an item into an array
  81. Scala program to create a two-dimensional array by using an array of array
  82. Scala program to read and print MATRIX using a two-dimensional array
  83. Scala program to calculate the sum of matrix elements
  84. Scala program to calculate the sum of rows of matrix elements
  85. Scala program to calculate the sum of columns of matrix elements
  86. Scala program to print the transpose of MATRIX
  87. Scala program to print the left diagonal of MATRIX
  88. Scala program to print the right diagonal of MATRIX
  89. Scala program to print the sum of left diagonal elements of MATRIX
  90. Scala program to print the sum of right diagonal elements of MATRIX
  91. Scala program to add two matrices
  92. Scala program to multiply two matrices
  93. Scala program to demonstrate the 3D array
  94. Scala program to create the clone of an array
  95. Scala program to demonstrate the copyToArray() method
  96. Scala program to print the index of the first occurrence of item using indexOf() method
  97. Scala program to print the index of the last occurrence of item using lastIndexOf() method
  98. Scala program to print the common elements of two arrays
  99. Scala program to compare strings using equal to (==) operator
  100. Scala program to compare strings using equals() method
  101. Scala program to compare strings using compareTo() method
  102. Scala program to concatenate strings using the plus (+) operator
  103. Scala program to concatenate strings using the concat() method
  104. Scala program to extract the substring from a string
  105. Scala program to find the length of the string
  106. Scala program to get characters from the string
  107. Scala program to check the string ends with specified substring
  108. Scala program to check the string starts with a specified substring
  109. Scala program to get bytes array from string using getBytes() method
  110. Scala program to copy the content of string into a character array
  111. Scala program to convert the string into a character array
  112. Scala program to convert an integer number into a string
  113. Scala program to convert a floating-point number into a string
  114. Scala program to get the hash code of the string
  115. Scala program to get the index of the first occurrence of the specified substring
  116. Scala program to get the index of the last occurrence of the specified substring
  117. Scala program to replace the character with another character in the string
  118. Scala program to demonstrate the replaceAll() method
  119. Scala program to demonstrate the replaceFirst() method
  120. Scala program to split the string based on the given separator
  121. Scala program to demonstrate the subSequence() method
  122. Scala program to convert the string into lowercase
  123. Scala program to convert the string into uppercase
  124. Scala program to trim a string
  125. Scala program to concatenate string using 's' method of string interpolation
  126. Scala program to concatenate formatted string using 'f' method of string interpolation
  127. Scala program to print raw string using the raw method of string interpolation
  128. Scala program to create a string using StringBuilder class
  129. Scala program to append a character to an immutable string using the '+=' operator
  130. Scala program to append a string to an immutable string using the '++=' operator
  131. Scala program to append a number to an immutable string using append() method
  132. Scala program to clear the content of StringBuilder string
  133. Scala program to delete a substring from StringBuilder string
  134. Scala program to insert a substring into StringBuilder string
  135. Scala program to replace a substring into StringBuilder string
  136. Scala program to print the distinct elements of the array
  137. Scala program to print the size of the array
  138. Scala program to get the first N number of elements from the array
  139. Scala program to get the last N number of elements from the array
  140. Scala program to get the length of StringBuilder string
  141. Scala program to get characters from StringBuilder string
  142. Scala program to check whether a string is empty or not
  143. Scala program to check nullable string
  144. Scala program to create a string using StringBuffer class
  145. Scala program to demonstrate the append() method with StringBuffer class
  146. Scala program to delete a substring from a string created using StringBuffer
  147. Scala program to insert a substring into string created using StringBuffer
  148. Scala program to add two integer arrays
  149. Scala program to subtract an array from another array
  150. Scala program to swap adjacent elements in the array
  151. Scala program to find the total occurrences of a given item in the array
  152. Scala program to find the first repeated item in the array
  153. Scala program to sort an array in ascending order using bubble sort
  154. Scala program to sort an array in descending order using bubble sort
  155. Scala program to sort an array in ascending order using insertion sort
  156. Scala program to sort an array in descending order using insertion sort
  157. Scala program to create a simple function
  158. Scala program to create a function with arguments
  159. Scala program to return a value from a function using the 'return' statement
  160. Scala program to return a value from the function without using the 'return' statement
  161. Scala program to create a function with default arguments
  162. Scala program to call a function with named parameters
  163. Scala program to create a function with the default value for non-trailing arguments
  164. Scala program to pass an array into user-defined function
  165. Scala program to create a currying function to add two numbers
  166. Scala program to create an anonymous function with => operator
  167. Scala program to create an anonymous function using '_' wildcard
  168. Scala program to create nested functions
  169. Scala program to demonstrate the partially applied function
  170. Scala program to demonstrate the partially applied function using currying approach
  171. Scala program to call a function using curly braces
  172. Scala program to print the current time
  173. Scala program to print the current date
  174. Scala program to print the current date and time using getTime() method
  175. Scala program to print the current time in milliseconds
  176. Scala program to format the current time using SimpleDateFormat class
  177. Scala program to convert a string into a date
  178. Scala program to convert a string into date-time
  179. Scala program to print the current date and time using Date class
  180. Scala program to compare two dates
  181. Scala program to print tomorrow's date
  182. Scala program to print yesterday's date
  183. Scala program to add days into the current date
  184. Scala program to subtract days from the current date
  185. Scala program to demonstrate the after() method of Date class
  186. Scala program to demonstrate the before() method of Date class
  187. Scala program to compare two dates using compareTo() method
  188. Scala program to set datetime using setTime() method
  189. Scala program to find the difference between the two dates
  190. Scala program to create a sequence of integers
  191. Scala program to check a sequence is empty or not
  192. Scala program to demonstrate the endsWith() method for the sequence of integers
  193. Scala program to check a given number is exist in a sequence or not
  194. Scala program to reverse the elements of a sequence
  195. Scala program to print the index of the first occurrence of the given number
  196. Scala program to print the index of the last occurrence of the given number
  197. Scala program to copy the elements of a sequence into the array
  198. Scala program to print the first element of a sequence without using the index
  199. Scala program to print the elements of a sequence except first element using tail property
  200. Scala program to perform the union operation between two sets using bitwise OR (|) operator
  201. Scala program to create a sorted set
  202. Scala program to create a hash set
  203. Scala program to create a BitSet
  204. Scala program to add and delete items to/from BitSet
  205. Scala program to create a ListSet
  206. Scala program to create a simple trait
  207. Scala program to extend a trait in a class without implementing the abstract method
  208. Scala program to create a non-abstract method inside the trait
  209. Scala program to implement multiple traits in a class
  210. Scala program to implement trait Mixins
  211. Scala program to create an empty ListSet and add new items into ListSet
  212. Scala program to handle Divide By Zero exception
  213. Scala program to handle multiple exceptions
  214. Scala program to print exact exception message
  215. Scala program to demonstrate the finally block
  216. Scala program to demonstrate the finally block without catch block
  217. Scala program to demonstrate the throw keyword
  218. Scala program to demonstrate the throws keyword
  219. Scala program to create a custom exception
  220. Scala program to demonstrate the NumberFormatException
  221. Scala program to demonstrate the NullPointerException
  222. Scala program to implement simple inheritance
  223. Scala program to implement multilevel inheritance
  224. Scala program to implement hierarchical inheritance
  225. Scala program to implement hybrid inheritance
  226. Scala program to demonstrate the protected access specifier
  227. Scala program to implement method overriding
  228. Scala program to override the field of a class
  229. Scala program to store key/value pairs using Map collection
  230. Scala program to print iterate map using the for loop
  231. Scala program to add elements to the Map collection
  232. Scala program to delete elements from the Map collection
  233. Scala program to check a Map collection is empty
  234. Scala program to store key/value pairs using HashMap collection
  235. Scala program to print iterate HashMap collection using the for loop
  236. Scala program to add elements to the HashMap collection
  237. Scala program to delete elements from the HashMap collection
  238. Scala program to check a HashMap collection is empty or not
  239. Scala program to demonstrate the Vector collection class
  240. Scala program to check a vector is empty or not
  241. Scala program to add an item into Vector collection
  242. Scala program to merge two vectors using the ++ operator
  243. Scala program to reverse the elements of the vector
  244. Scala program to create a queue using Queue collection class
  245. Scala program to get the first item from the front-end in the queue
  246. Scala program to print the vector elements using the foreach loop
  247. Scala program to sort the elements of the vector using the sorted() method
  248. Scala program to print the smallest element of the vector using min() method
  249. Scala program to print the largest element of the vector using max() method
  250. Scala program to compare two vectors using equals() method
  251. Scala program to check a vector contains an item or not
  252. Scala program to add an item in the queue using enqueue() method
  253. Scala program to delete an item from the queue using dequeue() method
  254. Scala program to check a queue is empty or not
  255. Scala program to remove all elements from the queue
  256. Scala program to compare two queues using equals() method
  257. Scala program to add items into the queue using the +=() method
  258. Scala program to append a queue in another queue using the '++=()' method
  259. Scala program to add items into the queue using the '+:()' method
  260. Scala program to check a queue contains a specified item
  261. Scala program to find the smallest element from the queue
  262. Scala program to find the largest element from the queue
  263. Scala program to calculate the sum of all queue elements
  264. Scala program to print the last item of the queue
  265. Scala program to get the first N item from the queue using take() method
  266. Scala program to demonstrate the map() method of Queue class
  267. Scala program to demonstrate the List collection
  268. Scala program to merge the elements of two List collections
  269. Scala program to access items of List collection using the index
  270. Scala program to sort the items of List collection
  271. Scala program to reverse the items of List collection
  272. Scala program to create a two-dimensional list using List collection
  273. Scala program to print the head item of List collection
  274. Scala program to print the items of List collection except for head item
  275. Scala program to check a List collection is empty or not
  276. Scala program to demonstrate the List.fill() method
  277. Scala program to demonstrate the 'private' access modifier
  278. Scala program to demonstrate the 'public' access modifier
  279. Scala program to create a private class
  280. Scala program to create a private singleton object
  281. Scala program to create a private case class
  282. Scala program to print the state of the thread
  283. Scala program to check a thread is alive or not
  284. Scala program to set and get the priority of the thread
  285. Scala program to implement multi-tasking using thread
  286. Scala program to demonstrate the Set collection
  287. Scala program to get the first element of Set using the head property
  288. Scala program to get all elements of the set except first element using tail property
  289. Scala program to check given set is empty or not
  290. Scala program to get the size of the set using the size property
  291. Scala program to merge two sets using the ++ operator
  292. Scala program to check the given element exists in a Set collection or not
  293. Scala program to add and remove elements from the set collection
  294. Scala program to iterate set elements using the for loop
  295. Scala program to perform intersection operation between two sets using intersect() method
  296. Scala program to perform intersection operation between two sets using & operator
  297. Scala program to perform union operation between two sets using union() method
  298. Scala program to demonstrate the 'this' keyword
  299. Scala program to implement cascaded method call
  300. Scala program to create a method returning an object
  301. Scala program to pass an object as an argument
  302. Scala program to demonstrate the final data member
  303. Scala program to demonstrate the final method
  304. Scala program to demonstrate the final class
  305. Scala program to demonstrate the abstract class
  306. Scala program to create an abstract class with data members
  307. Scala program to create an abstract class with the constructor
  308. Scala program to create an abstract class with the non-abstract method
  309. Scala program to create an abstract class with the final method
  310. Scala program to create a file
  311. Scala program to read data from a text file
  312. Scala program to read data from a file line by line
  313. Scala program to create a thread by extending Thread class
  314. Scala program to create a thread by implementing Runnable interface
  315. Scala program to create multiple threads
  316. Scala program to sleep a thread
  317. Scala program to demonstrate the join() method of Thread class
  318. Scala program to set and get the name of the thread
  319. Scala program to call constructor using 'this' keyword
  320. Scala program to implement method overloading based on the different number of arguments
  321. Scala program to implement method overloading based on different types of arguments
  322. Scala program to implement method overloading based on a different order of arguments

Swift

  1. Swift program to print 'Hello World'
  2. Swift program to create different types of variables
  3. Swift program to demonstrate the escape sequences
  4. Swift program to demonstrate the '\()' to embed the value of the variable within the string
  5. Swift program to create a constant
  6. Swift program to create a constant with binary value and print it in decimal number
  7. Swift program to create a constant with hexadecimal value and print it in decimal number
  8. Swift program to create an alias of basic types
  9. Swift program to print the line number of source code using the #line directive
  10. Swift program to create variables with specifying data type
  11. Swift program to demonstrate the arithmetic operators
  12. Swift program to demonstrate the assignment operators
  13. Swift program to assign multiple variables in a single statement
  14. Swift program to demonstrate the unary minus '-' and unary plus '+' operators
  15. Swift program to demonstrate the comparison operators
  16. Swift program to demonstrate the logical AND (&&) operator
  17. Swift program to demonstrate the logical OR (||) operator
  18. Swift program to demonstrate the logical NOT (!) operator
  19. Swift program to print the size of variables
  20. Swift program to demonstrate the closed range operator
  21. Swift program to demonstrate the Half-Open range operator
  22. Swift program to demonstrate the one-sided range operator
  23. Swift program to read an integer number from the user
  24. Swift program to read a float number from the user
  25. Swift program to demonstrate the Int() function with Invalid value
  26. Swift program to print the character corresponding ASCII value
  27. Swift program to demonstrate the if statement
  28. Swift program to demonstrate the if else statement
  29. Swift program to demonstrate the ladder if statement
  30. Swift program to demonstrate the nested if statement
  31. Swift program to demonstrate the ternary operator
  32. Swift program to demonstrate the switch statement
  33. Swift program to demonstrate the fallthrough statement in the switch statement
  34. Swift program to create case with multiple values in the switch block
  35. Swift program to perform the bitwise left-shift operation
  36. Swift program to perform the bitwise right-shift operation
  37. Swift program to perform the bitwise AND operation
  38. Swift program to perform the bitwise OR operation
  39. Swift program to perform the bitwise XOR operation
  40. Swift program to perform the bitwise NOT operation
  41. Swift program to swap two numbers using the bitwise XOR operator
  42. Swift program to print the minimum and maximum value of data type Int8
  43. Swift program to print the minimum and maximum value of data type UInt8
  44. Swift program to print the minimum and maximum value of data type Int
  45. Swift program to demonstrate the 'for in' loop with range
  46. Swift program to access the value of an array using 'for in' loop
  47. Swift program to demonstrate the 'for in' loop with 'where' clause
  48. Swift program to demonstrate the 'for in' loop with stride() function
  49. Swift program to demonstrate the nested 'for in' loop
  50. Swift program to demonstrate the while loop
  51. Swift program to demonstrate the nested while loop
  52. Swift program to demonstrate the infinite while loop
  53. Swift program to demonstrate the repeat loop
  54. Swift program to execute the loop once on false condition
  55. Swift program to demonstrate the break statement
  56. Swift program to demonstrate the continue statement
  57. Swift program to read a string from the user
  58. Swift program to convert an optional string into the normal string
  59. Swift program to create a multi-line string literal
  60. Swift program to check a string is empty or not
  61. Swift program to concatenate two strings
  62. Swift program to implement string interpolation
  63. Swift program to get the length of a string
  64. Swift program to compare two strings using equal to (==) operator
  65. Swift program to iterate string character by character
  66. Swift program to print the ASCII value of characters
  67. Swift program to check a string contains a specified prefix
  68. Swift program to check a string contains a specified suffix
  69. Swift program to append a string using the addition assignment operator (+=)
  70. Swift program to insert a character into a string
  71. Swift program to remove a character from a string
  72. Swift program to create a string with repeated values
  73. Swift program to reverse a string
  74. Swift program to join a string using the append() function
  75. Swift program to convert the string into lowercase
  76. Swift program to convert the string into uppercase
  77. Swift program to create an array
  78. Swift program to add elements into the array
  79. Swift program to insert an element at a specific position in the array
  80. Swift program to modify array elements
  81. Swift program to remove an item from an array based on an index
  82. Swift program to remove the first item from an array
  83. Swift program to remove the last item from an array
  84. Swift program to remove all items from an array
  85. Swift program to print the length of the array
  86. Swift program to sort an integer array in ascending order
  87. Swift program to reverse an integer array
  88. Swift program to sort an integer array in descending order
  89. Swift program to shuffle array elements
  90. Swift program to check an array contains a specified item
  91. Swift program to check an array is empty or not
  92. Swift program to swap array elements using swapAt() function
  93. Swift program to access array elements using forEach() function
  94. Swift program to create an array with mixed data elements
  95. Swift program to check all array elements satisfy a condition
  96. Swift program to demonstrate the use of the enumerated() function
  97. Swift program to create a two-dimensional array
  98. Swift program to create a jagged array
  99. Swift program to create a two-dimensional array using the append() function
  100. Swift program to create a three-dimensional array
  101. Swift program to create a function with no argument and no return value
  102. Swift program to create a function with argument but no return value
  103. Swift program to create a function with no argument but a return value
  104. Swift program to create a function with argument and return value
  105. Swift program to create a nested function
  106. Swift program to return multiple values from the function
  107. Swift program to find the largest number between two numbers using max() function
  108. Swift program to find the smallest number between two numbers using min() function
  109. Swift program to find the power of a number using the pow() function
  110. Swift program to find the square root of a number using the sqrt() function
  111. Swift program to calculate the ceiling of a double number
  112. Swift program to calculate the flooring of a double number
  113. Swift program to truncate a double number
  114. Swift program to find the absolute value of a number
  115. Swift program to get the sin value of the given angle in radian
  116. Swift program to get the cosine value of the given angle in radian
  117. Swift program to get the tangent value of the given angle in radian
  118. Swift program to get the inverse sin value in radian
  119. Swift program to get the inverse cosine value in radian
  120. Swift program to get the inverse tangent value in radian
  121. Swift program to find the square root of a number using the pow() function
  122. Swift program to find the cube root of a number using the pow() function
  123. Swift program to find the natural logarithm of a given number
  124. Swift program to find the decadic logarithm(base 10) of a given number
  125. Swift program to find the Euler's number raised to a given exponent
  126. Swift program to convert a string into a number using Int() function
  127. Swift program to create a nested function with the return value
  128. Swift program to pass an array into a user-defined function
  129. Swift program to return an array from a user-defined function
  130. Swift program to create a function with default arguments
  131. Swift program to implement a verdict function
  132. Swift program to create a function with an in-out parameter
  133. Swift program to demonstrate the recursion
  134. Swift program to calculate the factorial of a given number using recursion
  135. Swift program to calculate the power of a given number using recursion
  136. Swift program to count the digits of a given number using recursion
  137. Swift program to calculate the sum of all digits using recursion
  138. Swift program to create a simple set collection
  139. Swift program to create a simple set collection with duplicate elements
  140. Swift program to add elements into a Set collection
  141. Swift program to remove an element from a Set collection
  142. Swift program to remove the first element from a Set collection
  143. Swift program to remove all elements from a Set collection
  144. Swift program to find the length of Set collection
  145. Swift program to perform union operation between two Set collections
  146. Swift program to perform intersection operation between two Set collections
  147. Swift program to perform subtraction operation between two Set collections
  148. Swift program to calculate the symmetric difference between two Set collections
  149. Swift program to check a set contains a specific subset
  150. Swift program to compare two sets using the equal to (==) operator
  151. Swift program to check a set collection is empty or not
  152. Swift program to sort the elements of Set collection
  153. Swift program to check a set collection contains a specific element or not
  154. Swift program to check a set is the superset of another set collection
  155. Swift program to check a set contains a specific strict subset
  156. Swift program to check a set is the strict superset of another set collection
  157. Swift program to check two set collections contains common values or not
  158. Swift program to create a simple structure
  159. Swift program to initialize structure using init() function
  160. Swift program to demonstrate the 'self' keyword with structure
  161. Swift program to create methods within a structure
  162. Swift program to create a new structure object with existing object
  163. Swift program to create a structure within structure
  164. Swift program to create an array of the structure
  165. Swift program to create an array within the structure
  166. Swift program to pass a structure to a function
  167. Swift program to create a function returning structure
  168. Swift program to implement function overloading based on the different number of arguments
  169. Swift program to implement function overloading based on different types of arguments
  170. Swift program to implement function overloading based on the different order of arguments
  171. Swift program to implement function overloading based on argument label
  172. Swift program to create a simple class
  173. Swift program to create a class with the init() method
  174. Swift program to demonstrate the 'self' keyword within the class
  175. Swift program to create a class with the user-defined methods
  176. Swift program to create an array of objects
  177. Swift program to pass an object as a parameter
  178. Swift program to return an object from a method
  179. Swift program to demonstrate the enumeration
  180. Swift program to create an enumeration with the specific type and access its raw value
  181. Swift program to print all cases of enumeration
  182. Swift program to use enumeration constants using the switch statement
  183. Swift program to compare enumeration constants based on raw values
  184. Swift program to create typealias for built-in types
  185. Swift program to create the alias of a structure
  186. Swift program to generate random numbers
  187. Swift program to shuffle the elements of an array
  188. Swift program to get a random element from an array
  189. Swift program to create a simple closure function
  190. Swift program to create a closure function with parameters
  191. Swift program to create a closure function and return a value
  192. Swift program to pass a closure as a function parameter
  193. Swift program to pass a closure as a function parameter with other parameters
  194. Swift program to pass an automatic closure as a function parameter
  195. Swift program to create a custom subscript
  196. Swift program to create a subscript with set/get property
  197. Swift program to create a subscript with the read-only property
  198. Swift program to create a custom subscript with multiple options
  199. Swift program to implement subscript overloading
  200. Swift program to overload init() method
  201. Swift program to implement single inheritance
  202. Swift program to implement multilevel inheritance
  203. Swift program to implement hierarchical inheritance
  204. Swift program to implement hybrid inheritance
  205. Swift program to implement method overriding
  206. Swift program to call base class overridden method in derived class using super keyword
  207. Swift program to call base class overridden method from derived class object
  208. Swift program to call a superclass init() method from subclass
  209. Swift program to implement property overriding

Rust

  1. Rust program to print Hello World
  2. Rust program to create different types of variables
  3. Rust program to create different types of variables without specifying data types
  4. Rust program to demonstrate the escape sequences
  5. Rust program to create mutable variables
  6. Rust program to create constants
  7. Rust program to demonstrate the isize and usize datatypes
  8. Rust program to create a variable with binary value and print it in decimal number
  9. Rust program to create a variable with hexadecimal value and print it in the decimal number
  10. Rust program to create an alias of built-in data type
  11. Rust program to create string literals
  12. Rust program to print the length of string literal
  13. Rust program to read an integer number from the user
  14. Rust program to read a float number from the user
  15. Rust program to demonstrate the arithmetic operators
  16. Rust program to demonstrate the assignment operators
  17. Rust program to demonstrate the relational operators
  18. Rust program to demonstrate the logical AND operator
  19. Rust program to demonstrate the logical OR (||) operator
  20. Rust program to demonstrate the logical NOT (!) operator
  21. Rust program to demonstrate the conditional operator
  22. Rust program to demonstrate the bitwise left-shift (<<) operator
  23. Rust program to demonstrate the bitwise right-shift (>>) operator
  24. Rust program to demonstrate the bitwise AND (&) operator
  25. Rust program to demonstrate the bitwise OR (|) operator
  26. Rust program to demonstrate the bitwise XOR (^) operator
  27. Rust program to swap two numbers using bitwise XOR (^) operator
  28. Rust program to set specific bit using bitwise operator
  29. Rust program to clear specific bit using bitwise operator
  30. Rust program to convert a decimal number to a binary number
  31. Rust program to get the minimum number of bits to store a number
  32. Rust program to check specific bit is HIGH (1) or LOW (0)
  33. Rust program to print the hexadecimal number of the given decimal number
  34. Rust program to print the binary number of a given decimal number
  35. Rust program to print the octal number of a given decimal number
  36. Rust program to swap two bytes of a number
  37. Rust program to reverse bits of a binary number
  38. Rust program to count the total number of HIGH (1) bits a given binary number
  39. Rust program to swap nibbles of a number
  40. Rust program to count the total number of trailing zeros
  41. Rust program to check a given number EVEN or ODD using bitwise operator
  42. Rust program to check a number contain the alternative pattern of bits
  43. Rust program to find the next number power of 2
  44. Rust program to find the position of MSB bit of an integer number
  45. Rust program to round off an integer number to the next lower power 2
  46. Rust program to find the total number of leading zeros in a binary number
  47. Rust program to read a number and print bits between given positions
  48. Rust program to swap two bits of a 32-bit integer number
  49. Rust program to check a given number is the power of 2 using bitwise operator
  50. Rust program to count the number of bits to be flipped to convert a number to another number
  51. Rust program to print the bit positions that need to be flipped to convert a number to another number
  52. Rust program to find the 1's complement of the given number
  53. Rust program to find the 2's complement of the given number
  54. Rust program to print the type of variables
  55. Rust program to calculate the area of the circle
  56. Rust program to calculate the perimeter of the circle
  57. Rust program to calculate the area of the rectangle
  58. Rust program to calculate the power of a given number
  59. Rust program to find the square root of the given number
  60. Rust program to demonstrate the use of abs() function
  61. Rust program to multiply two numbers using '+' operator
  62. Rust program to calculate the HCF (Highest Common Factor)
  63. Rust program to subtract a number without using the '-' operator
  64. Rust program to find the remainder without using the modulus (%) operator
  65. Rust program to check whether the given character is alphanumeric or not
  66. Rust program to check whether a character variable contains a digit or not
  67. Rust program to check whether a given character is a whitespace character or not
  68. Rust program to check whether a given character is a punctuation mark or not
  69. Rust program to check whether a given character is a printable character or not
  70. Rust program to convert a given number of days into days, weeks, and years
  71. Rust program to find the roots of a quadratic equation
  72. Rust program to find the GCD (Greatest Common Divisor)
  73. Rust program to find the LCM (Lowest Common Multiple)
  74. Rust program to calculate the area of a triangle given three sides
  75. Rust program to calculate the area of a triangle for a given base and height
  76. Rust program to calculate the area of Trapezium
  77. Rust program to calculate the area of the rhombus
  78. Rust program to calculate the area of Parallelogram
  79. Rust program to calculate the area of Cube
  80. Rust program to calculate the volume of Cube
  81. Rust program to find the Surface Area and Volume of the Cylinder
  82. Rust program to calculate the surface area, volume, and space diagonal of cuboids
  83. Rust program to calculate the surface area, the volume of the Cone
  84. Rust program to calculate the Surface Area and Volume of Sphere
  85. Rust program to read coordinate points and determine its quadrant
  86. Rust program to calculate the value of nCr
  87. Rust program to calculate the value of nPr
  88. Rust program to extract the last two digits from a given year
  89. Rust program to read the height of a person and the print person is taller, dwarf, or average height person
  90. Rust program to demonstrate the if statement
  91. Rust program to demonstrate the if-else statement
  92. Rust program to demonstrate the ladder (multiple) if-else statements
  93. Rust program to demonstrate the nested if-else statements
  94. Rust program to demonstrate the match statement
  95. Rust program to demonstrate the match with the block of statements
  96. Rust program to demonstrate the match statement without returning the value
  97. Rust program to demonstrate the match statement with multiple values
  98. Rust program to demonstrate the match statement with range
  99. Rust program to demonstrate the match statement with enum
  100. Rust program to print numbers from 1 to 10 using while, for loop, and loop
  101. Rust program to implement infinite loop using while loop
  102. Rust program to implement infinite loop using loop statement
  103. Rust program to demonstrate the nested while loop
  104. Rust program to demonstrate the nested for loop
  105. Rust program to demonstrate the nested loop statement
  106. Rust program to demonstrate the break statement with while and for loops
  107. Rust program to demonstrate the break statement with a nested loop
  108. Rust program to demonstrate the continue statement with while and for loops
  109. Rust program to create a simple function
  110. Rust program to create a user-defined function to add two integer numbers
  111. Rust program to demonstrate the call by value parameter passing
  112. Rust program to demonstrate the call by reference parameter passing
  113. Rust program to pass an array in a function
  114. Rust program to demonstrate the if let statement
  115. Rust program to demonstrate the else if let statements
  116. Rust program to demonstrate the if let with else if statement
  117. Rust program to check the Even or Odd number using the if let statement
  118. Rust program to create own Power function without using multiplication (*) and division (/) operators
  119. Rust program to calculate the division without using division (/) operator
  120. Rust program to convert a float number into an integer number
  121. Rust program to convert an integer number into a float number
  122. Rust program to convert an integer into character
  123. Rust program to convert an unsigned integer into a signed integer
  124. Rust program to convert a string into an integer
  125. Rust program to convert a string into float
  126. Rust program to convert an integer into a string
  127. Rust program to calculate the power of float number using powi() function
  128. Rust program to calculate the power of float number using powf() function
  129. Rust program to calculate the cube root of a number
  130. Rust program to calculate the square root of a number using the powf() function
  131. Rust program to return an array from the function
  132. Rust program to pass a structure to the function
  133. Rust program to return a structure from the function
  134. Rust program to return multiple values from the function
  135. Rust program to demonstrate the recursion
  136. Rust program to calculate the factorial using recursion
  137. Rust program to print the Fibonacci series using recursion
  138. Rust program to calculate the power of a given number using recursion
  139. Rust program to count the digits of a given number using recursion
  140. Rust program to calculate the sum of the digits of a given number using recursion
  141. Rust program to reverse a number using recursion
  142. Rust program to check a given number is prime or not using recursion
  143. Rust program to calculate the LCM using recursion
  144. Rust program to calculate the GCD using recursion
  145. Rust program to calculate the HCF using recursion
  146. Rust program to calculate the product of two numbers using recursion
  147. Rust program to convert an integer number to binary using recursion
  148. Rust program to convert binary to Gray code using recursion
  149. Rust program to find the intersection of two HashSets
  150. Rust program to find the Union of two HashSets
  151. Rust program to compare HashSets using equal to (==) operator
  152. Rust program to get the capacity of HashSet
  153. Rust program to create a HashSet with specified capacity
  154. Rust program to demonstrate the take() method of HashSet
  155. Rust program to initialize a simple HashMap
  156. Rust program to insert items into a HashMap
  157. Rust program to print only keys of a HashMap
  158. Rust program to print only values of a HashMap
  159. Rust program to print Keys/values of a HashMap using iter() method
  160. Rust program to modify the values of HashMap using the values_mut() method
  161. Rust program to modify the values of HashMap using the iter_mut() method
  162. Rust program to find the length of HashMap
  163. Rust program to check the given HashMap is empty or not
  164. Rust program to get value using Specified key in HashMap
  165. Rust program to remove an item from HashMap using remove () method
  166. Rust program to check a HashMap contains a specified key or not
  167. Rust program to print the capacity of HashMap
  168. Rust program to create a slice from the string
  169. Rust program to create a slice from an integer array
  170. Rust program to create a mutable slice from an integer array
  171. Rust program to create a slice from a string without specifying the start index
  172. Rust program to create a slice from a string without specifying the last index
  173. Rust program to create a tuple
  174. Rust program to access members of tuple one by one
  175. Rust program to pass a tuple as a parameter
  176. Rust program to implement destructive assignment with tuple
  177. Rust program to create a simple array
  178. Rust program to create an array without specifying the type
  179. Rust program to find the length of an array
  180. Rust program to initialize array elements with a default value
  181. Rust program to access array elements using the 'for' loop
  182. Rust program to access array elements using iter() function
  183. Rust program to pass an array into the function using call by value mechanism
  184. Rust program to pass an array into the function using call by reference mechanism
  185. Rust program to create an array with constant size
  186. Rust program to compare two arrays using the equal to (==) operator
  187. Rust program to create an array using the existing array
  188. Rust program to calculate the sum of array elements
  189. Rust program to find the largest element from the array
  190. Rust program to find the second largest element from the array
  191. Rust program to find the EVEN numbers from the array
  192. Rust program to merge two arrays into third array
  193. Rust program to reverse an array
  194. Rust program to print prime numbers from the array
  195. Rust program to search an item into the array using linear search
  196. Rust program to search an item into the array using binary search
  197. Rust program to search an item into the array using interpolation search
  198. Rust program to sort an array in ascending order using bubble sort
  199. Rust program to sort an array in descending order using bubble sort
  200. Rust program to sort an array in ascending order using selection sort
  201. Rust program to sort an array in descending order using selection sort
  202. Rust program to add two integer arrays
  203. Rust program to swap adjacent elements of the array
  204. Rust program to find out the first repeated element in the array
  205. Rust program to delete the given item from the array
  206. Rust program to create a simple vector
  207. Rust program to find the length of the vector
  208. Rust program to push or insert an item into vector
  209. Rust program to perform the POP operation
  210. Rust program to access vector elements using the index
  211. Rust program to access vector elements using get() function
  212. Rust program to create a vector using the new() method
  213. Rust program to iterate the items of the vector using the 'for' loop
  214. Rust program to create a simple HashSet
  215. Rust program to create HashSet from the vector
  216. Rust program to iterate HashSet items using the 'for' loop
  217. Rust program to find the length of HashSet
  218. Rust program to remove an item from HashSet
  219. Rust program to check an item contains in HashSet or not
  220. Rust program to iterate HashSet items using the iter() method
  221. Rust program to delete all items from HashSet
  222. Rust program to find the difference between two HashSets
  223. Rust program to find the Symmetric difference between two HashSets
  224. Rust program to create a simple structure
  225. Rust program to create a structure with default values
  226. Rust program to create a structure and assign the values to the members
  227. Rust program to return a structure from the function
  228. Rust program to define a method in a struct
  229. Rust program to create a Static method in the structure
  230. Rust program to create a simple enum
  231. Rust program to get the integer value of enum constants
  232. Rust program to demonstrate the Match Statement with Enum
  233. Rust program to create an enum with the data type
  234. Rust program to create a simple module
  235. Rust program to import a module using the 'use' keyword
  236. Rust program to create the nested module
  237. Rust program to import a module from a different file
  238. Rust program to access a static variable in a module
  239. Rust program to create an empty file
  240. Rust program to write text into the file
  241. Rust program to read text from a file
  242. Rust program to append data into an existing file
  243. Rust program to remove an existing file
  244. Rust program to check a specified file exists or not
  245. Rust program to read a file character by character
  246. Rust program to count the total number of lines of a text file
  247. Rust program to read a file line by line
  248. Rust program to replace a word in a file
  249. Rust program to remove newline characters from the file
  250. Rust program to remove a specified word from the file
  251. Rust program to create a directory
  252. Rust program to create a directory using create_dir_all() function
  253. Rust program to check a specified directory exists or not
  254. Rust program to create a simple thread
  255. Rust program to create a thread pool
  256. Rust program to pause a thread for two seconds
  257. Rust program to demonstrate the join() function in threads
  258. Rust program to access the main thread variable inside the worker thread
  259. Rust program to send a message between threads
  260. Rust program to pass a channel to the function
  261. Rust program to send multiple messages between threads
  262. Rust program to demonstrate the Sender::clone() function
  263. Rust program to set the name of a thread
  264. Rust program to get the UTC current date and time
  265. Rust program to get the current date and time based on local time zone
  266. Rust program to get the current timestamp
  267. Rust program to convert the timestamp into readable date time
  268. Rust program to print date-time in a formatted manner using format() function
  269. Rust program to create a date object using ymd() function
  270. Rust program to create a date-time object using ymd() and and_hms() function
  271. Rust program to get the date of the specified day of the specified year
  272. Rust program to demonstrate the and_hms_milli(), and_hms_micro(), and and_hms_nano() functions
  273. Rust program to print the current year using year() method
  274. Rust program to print the current month using month() method
  275. Rust program to print the current day using day() method
  276. Rust program to print the current hour, minute, second individually
  277. Rust program to print today's weekday using the weekday () method
  278. Rust program to compare weekdays with a current weekday
  279. Rust program to get the current weekday number from Monday
  280. Rust program to print the day of the year
  281. Rust program to demonstrate the Utc::today() and Local::today() functions
  282. Rust program to demonstrate the Utc::now().date() and Utc::now().time() functions
  283. Rust program to convert local date-time in UTC date-time
  284. Rust program to print the current date-time according to CHINA time-zone
  285. Rust program to print the current date-time according to RIO (Brazil) time-zone
  286. Rust program to print the time in 12-hour format
  287. Rust program to demonstrate the num_days_from_ce() function
  288. Rust program to print the UTC date-time in RFC 2822
  289. Rust program to print the UTC date-time in RFC 3339
  290. Rust program to parse the date-time from RFC 2822 string
  291. Rust program to parse the date-time from RFC 3339 string
  292. Rust program to parse only time from a string
  293. Rust program to parse only date from a string
  294. Rust program to parse the date and time from a string
  295. Rust program to generate integer random numbers
  296. Rust program to generate floating-point random numbers
  297. Rust program to generate an integer random number between a specific range
  298. Rust program to generate a floating-point random number between a specific range
  299. Rust program to generate a random tuple
  300. Rust program to generate random values of a custom types
  301. Rust program to generate a random password
  302. Rust program to generate a random password using a given set of characters
  303. Rust program to use an iterator to read values from an array
  304. Rust program to use an iterator to traverse the vector elements
  305. Rust program to create a simple closure
  306. Rust program to create a closure function with a parameter
  307. Rust program to create a closure function to check given number is EVEN or ODD
  308. Rust program to create a closure function to return the addition of given numbers
  309. Rust program to create a generic function
  310. Rust program to find the square of a given number using a generic function
  311. Rust program to calculate the addition of two numbers using generic function
  312. Rust program to calculate the subtract a number from another number using generic function
  313. Rust program to create a generic structure
  314. Rust program to declare and implement a trait
  315. Rust program to demonstrate the command line arguments
  316. Rust program to print the count of command-line argument using library function
  317. Rust program to print the EVEN numbers using Command Line Arguments
  318. Rust program to print a message using write() function
  319. Python program to sort list of tuples alphabetically
  320. Python program to find maximum value in record list as tuple attribute
  321. Rust program to demonstrate the 'from' trait
  322. Rust program to create a vector that can store only integers
  323. Rust program to read a string from the user

Ruby

  1. Ruby program to read a floating-point number from the user
  2. Ruby program to calculate the area of Parallelogram
  3. Ruby program to calculate the area of Cube
  4. Ruby program to calculate the volume of Cube
  5. Ruby program to calculate the volume and area of the Cylinder
  6. Ruby program to calculate the volume, diagonal, and area of Cuboids
  7. Ruby program to calculate the volume and area of Cone
  8. Ruby program to calculate the volume and area of Sphere
  9. Ruby program to read coordinate points and determine its quadrant
  10. Ruby program to extract the last two digits from the given year
  11. Ruby program to read the height of a person and the print person is taller, dwarf, or average height person
  12. Ruby program to find the power of a number without using library function
  13. Ruby program to divide a number from another number without using the division '/' operator
  14. Ruby program to check the given number is EVEN or ODD using ternary operator
  15. Ruby program to find the largest number between two numbers using ternary operator
  16. Ruby program to find the largest number among three numbers using ternary operator
  17. Ruby program to check the given number is POSITIVE or NEGATIVE using the ternary operator
  18. Ruby program to check a person is eligible for voting or not using the ternary operator
  19. Ruby program to find the division of students based on percentage using ternary operator
  20. Ruby program to demonstrate the bitwise left-shift (<<) operator
  21. Ruby program to demonstrate the bitwise AND (&) operator
  22. Ruby program to demonstrate the bitwise XOR (^) operator
  23. Ruby program to swap two numbers using the Bitwise XOR (^) operator
  24. Ruby program to set the specific bit using the bitwise operator
  25. Ruby program to clear the specific bit using the bitwise operator
  26. Ruby program to find the 1's complement of the given number
  27. Ruby program to demonstrate the Boolean NOT (!) operator
  28. Ruby program to demonstrate the exponential operator (**)
  29. Ruby program to demonstrate the arithmetic operators
  30. Ruby program to demonstrate the logical operators
  31. Ruby program to read an integer number from the user
  32. Ruby program to find the area of the circle
  33. Ruby program to calculate the perimeter of the circle
  34. Ruby program to multiply two numbers using the plus (+) operator
  35. Ruby program to subtract the numbers without using the minus (-) operator
  36. Ruby program to find the remainder without using the modulus (%) operator
  37. Ruby program to calculate the Highest Common Factor
  38. Ruby program to calculate the Greatest Common Divisor
  39. Ruby program to calculate the Lowest Common Multiple
  40. Ruby program to calculate the area of Trapezium
  41. Ruby program to calculate the area of the rhombus
  42. Ruby program to calculate the square root of the given number
  43. Ruby program to calculate the cube root of the given number
  44. Ruby program to calculate the base 2 logarithm of the given value
  45. Ruby program to calculate the base 10 logarithm of the given value
  46. Ruby program to calculate the logarithm of a given number based on a given base
  47. Ruby program to calculate the logarithm gamma of the given number
  48. Ruby program to find the fraction and exponent of a number
  49. Ruby program to calculate the value from the given fraction and exponent
  50. Ruby program to find the hypotenuse of a right-angled triangle with sides l and b
  51. Ruby program to find the value of e^value using exp() function
  52. Ruby program to demonstrate the Math.erf() function
  53. Ruby program to find the sine of given radian value
  54. Ruby program to find the cosine of given radian value
  55. Ruby program to find the tangent of given radian value
  56. Ruby program to find the hyperbolic sine of given radian value
  57. Ruby program to find the hyperbolic cosine of given radian value
  58. Ruby program to find the hyperbolic tangent of given radian value
  59. Ruby program to find the arccosine of the given value
  60. Ruby program to find the arctangent of the given value
  61. Ruby program to find the hyperbolic arcsine of the given value
  62. Ruby program to find the hyperbolic arccosine of the given value
  63. Ruby program to find the hyperbolic arctangent of the given value
  64. Ruby program to convert the string into an integer
  65. Ruby program to convert the string into a floating-point number
  66. Ruby program to convert a number into a complex number
  67. Ruby program to initialize and print a complex number
  68. Ruby program to convert an integer number into a string
  69. Ruby program to convert a number into a rational number
  70. Ruby program to find the absolute value of the given number
  71. Ruby program to check the given number is an integer or not
  72. Ruby program to print the absolute value of Complex numbers
  73. Ruby program to get the imaginary part of the given complex number
  74. Ruby program to create Complex numbers from given imaginary parts
  75. Ruby program to demonstrate the floor() function
  76. Ruby program to demonstrate the ceil() function
  77. Ruby program to print character of given ASCII value
  78. Ruby program to print ASCII value of given character
  79. Ruby program to demonstrate the downto() function
  80. Ruby program to demonstrate the upto() function
  81. Ruby program to check the given number is an EVEN number using library function
  82. Ruby program to find the GCD using library function
  83. Ruby program to find the LCM using library function
  84. Ruby program to perform integer division of two numbers using div() function
  85. Ruby program to perform float division of two numbers using the fdiv() function
  86. Ruby program to check a number is zero or not using the zero?() function
  87. Ruby program to demonstrate the inspect() function
  88. Ruby program to get the numerator from a rational number
  89. Ruby program to demonstrate the <=> operator
  90. Ruby program to demonstrate the phase() function
  91. Ruby program to check a given number is finite or not
  92. Ruby program to get the real part from a Complex number
  93. Ruby program to get the division and remainder using library function
  94. Ruby program to check the given number is an odd number using library function
  95. Ruby program to get the predecessor of an integer number using library function
  96. Ruby program to get the successor of an integer number using library function
  97. Ruby program to get the denominator from a rational number
  98. Ruby program to demonstrate the coerce() function
  99. Ruby program to demonstrate the arg() function
  100. Ruby program to demonstrate the abs2() function
  101. Ruby program to get the magnitude of the given number
  102. Ruby program to get the remainder of float numbers using library function
  103. Ruby program to compare numbers and strings using library function
  104. Ruby program to get total bits required for the given number using library function
  105. Ruby program to get the GCD and LCM using gcdlcm() library function
  106. Ruby program to demonstrate the next() function
  107. Ruby program to demonstrate the range (..) operator
  108. Ruby program to demonstrate the if statement
  109. Ruby program to demonstrate the if-else statement
  110. Ruby program to demonstrate the ladder if statement
  111. Ruby program to demonstrate the nested if statement
  112. Ruby program to demonstrate the case statement
  113. Ruby program to demonstrate the case statement with range
  114. Ruby program to demonstrate the case statement with multiple values in the when block
  115. Ruby program to demonstrate the case statement with string
  116. Ruby program to check the input string contains numbers or letters using case statement
  117. Ruby program to print numbers from 1 to 5 using for loop, while, and do...while loop
  118. Ruby program to implement an infinite loop using the while loop
  119. Ruby program to implement an infinite loop using the 'do' loop
  120. Ruby program to demonstrate the nested 'while' loop
  121. Ruby program to demonstrate the nested 'for' loop
  122. Ruby program to demonstrate the nested 'do' loop
  123. Ruby program to print numbers from 1 to 5 using for 'until' loop
  124. Ruby program to create an infinite loop using 'until' loop
  125. Ruby program to demonstrate the nested 'until' loop
  126. Ruby program to demonstrate the 'break' statement with 'while', 'until', and 'for' loops
  127. Ruby program to demonstrate the 'break' statement with a nested loop
  128. Ruby program to demonstrate the 'next' statement in the loop
  129. Ruby program to demonstrate the 'redo' statement in the loop
  130. Ruby program to create a simple class
  131. Ruby program to create an object of the class
  132. Ruby program to create a data member inside the class
  133. Ruby program to create a class with data members and initialize using initialize() method
  134. Ruby program to create the multiple objects of the class
  135. Ruby program to access a global variable from a method of the class
  136. Python program to perform comparison operation on tuples
  137. Ruby program to create a user-defined function without argument and without a return value
  138. Ruby program to create a user-defined function with arguments but without a return value
  139. Ruby program to create a user-defined function without argument but return a value
  140. Ruby program to create a user-defined function with arguments and a return value
  141. Ruby program to pass an array to the user-defined function
  142. Ruby program to return an array from the user-defined function
  143. Ruby program to pass a string to the user-defined function
  144. Ruby program to return a string from the user-defined function
  145. Ruby program to return multiple values from the user-defined function
  146. Ruby program to create a simple recursive function
  147. Ruby program to calculate the factorial of given number using recursion
  148. Ruby program to print the Fibonacci series using recursion
  149. Ruby program to calculate the power of a given number using recursion
  150. Python program to find the maximum element in tuple list
  151. Ruby program to count the digits of a given number using recursion
  152. Ruby program to find the sum of the digits of a given number using recursion
  153. Ruby program to find the reverse of a given number using recursion
  154. Ruby program to find the given number is PRIME or not using recursion
  155. Ruby program to find the LCM of two given numbers using recursion
  156. Ruby program to find the GCD of two given numbers using recursion
  157. Ruby program to find the HCF of two given numbers using recursion
  158. Ruby program to calculate the product of two given numbers using recursion
  159. Ruby program to convert the decimal number to binary using recursion
  160. Ruby program to convert the Binary number to Gray code using recursion
  161. Ruby program to create block using 'do...end' statement
  162. Ruby program to create a block using curly braces {}
  163. Ruby program to demonstrate the argument passing to block
  164. Ruby program to return the values from the block
  165. Ruby program to demonstrate the yield statement
  166. Ruby program to demonstrate the yield statement with argument
  167. Ruby program to demonstrate the BEGIN and END blocks
  168. Ruby program to create multiple BEGIN and END blocks
  169. Ruby program to demonstrate a simple module
  170. Ruby program to create a module with variables
  171. Ruby program to include a module inside the class
  172. Ruby program to create a nested module
  173. Ruby program to create a module with constant
  174. Ruby program to create a class inside the module
  175. Ruby program to illustrate the creation of strings
  176. Ruby program to illustrate the difference between single quote string and double-quote string
  177. Ruby program to create a String object
  178. Ruby program to find the length of a string
  179. Ruby program to get characters from a string using the index
  180. Ruby program to get a substring from the string
  181. Ruby program to demonstrate the example to write double-quotes in a string
  182. Ruby program to demonstrate the escape sequence characters
  183. Ruby program to demonstrate the string concatenation
  184. Ruby program to make string immutable
  185. Ruby program to compare two strings using the Equal To (==) operator
  186. Ruby program to compare two strings using the eql?() method
  187. Ruby program to compare two strings by ignoring case
  188. Ruby program to check the given string is empty or not
  189. Ruby program to demonstrate the string interpolation
  190. Ruby program to check a string contains a specified substring or not
  191. Ruby program to get the index of the substring in a string
  192. Ruby program to pad a string with 0's on left side
  193. Ruby program to pad a string with 0's on the right side
  194. Ruby program to convert a string into uppercase
  195. Ruby program to convert a string into lowercase
  196. Ruby program to trim a string from both sides
  197. Ruby program to trim a string from the left side
  198. Ruby program to trim a string from the right side
  199. Ruby program to check a string starts with a specified substring
  200. Ruby program to check a string end with a specified substring
  201. Ruby program to delete suffix substring from the given string
  202. Ruby program to delete prefix substring from the given string
  203. Ruby program to convert the string into an array of characters
  204. Ruby program to convert the string into an array of characters based on the specified character
  205. Ruby program to convert the array of characters into the string
  206. Ruby program to convert an integer array into a string
  207. Ruby program to convert a numeric string into integer using to_i() function
  208. Ruby program to concatenate the strings using the << operator
  209. Ruby program to iterate characters using the each_char() function
  210. Ruby program to convert the string into an array of characters using chars() function
  211. Ruby program to create a multi-line string using '%Q'
  212. Ruby program to replace text inside the string using gsub() method
  213. Ruby program to remove a specified character inside the string using gsub() method
  214. Ruby program to replace number within a string using gsub() method with regular expression
  215. Ruby program to convert the string into title case using gsub() method
  216. Python program to perform the addition of nested tuples
  217. Ruby program to remove the last specified character from the string
  218. Ruby program to count a specified character inside the string
  219. Ruby program to create an array using literal constructor '[]'
  220. Ruby program to create an array using Array class
  221. Ruby program to create an array using the new() class method
  222. Ruby program to get the length of an array using the length() method
  223. Ruby program to get the size of an array using the size() method
  224. Ruby program to append an element into an array
  225. Ruby program to convert an array into a string and join elements with a specified character
  226. Ruby program to add multiple elements to the end of the array using push() method
  227. Ruby program to push an array into another array
  228. Ruby program to access array elements using at() method
  229. Ruby program to get the subarray from an array using a specified range of indices
  230. Ruby program to remove the last item from the array
  231. Ruby program to remove the last given number of items from the array
  232. Ruby program to remove the first item from the array
  233. Ruby program to remove the first given number of items from the array
  234. Ruby program to get the first item from the array
  235. Ruby program to get the last item from the array
  236. Ruby program to get the first given number of items from the array
  237. Ruby program to get the last given number of items from the array
  238. Ruby program to get the first N items from the array using the take() method
  239. Ruby program to demonstrate the assoc() method
  240. Ruby program to concatenate two arrays
  241. Ruby program to find the uncommon elements from two arrays
  242. Ruby program to find the common elements from two arrays
  243. Ruby program to find the distinct elements from two arrays
  244. Ruby program to get the flattened 1D array
  245. Ruby program to insert an element into the array at the specified index
  246. Ruby program to insert multiple elements into the array from the specified index
  247. Ruby program to find the index of the first occurrence of the specified item in the array
  248. Ruby program to reverse the elements of the array using inbuilt function
  249. Ruby program to sort the elements of the array in ascending order using the inbuilt function
  250. Ruby program to sort the elements of the array in descending order using inbuilt functions
  251. Ruby program to compare two arrays using the eql?() method
  252. Ruby program to get array elements after N elements
  253. Ruby program to add an element in the array at the beginning
  254. Ruby program to remove given element from the array
  255. Ruby program to filter array elements using the select() method
  256. Ruby program to check given item is included in the array or not
  257. Ruby program to iterate over each element from the array
  258. Ruby program to demonstrate the Array.map() method
  259. Ruby program to demonstrate the Array.collect() method
  260. Ruby program to remove duplicate elements from the array
  261. Ruby program to demonstrate the Array.concat() method
  262. Ruby program to remove elements from the array using delete_if() method
  263. Ruby program to demonstrate the Array.dig() method
  264. Ruby program to remove all elements from the array
  265. Ruby program to remove all 'nil' elements from the array
  266. Ruby program to check an array is empty or not
  267. Ruby program to fetch elements from an array based on an index
  268. Ruby program to fill an array with a specific element
  269. Ruby program to find the largest element from the array
  270. Ruby program to find the second largest element from the array
  271. Ruby program to find the EVEN numbers from the array
  272. Ruby program to calculate the sum of array elements
  273. Ruby program to reverse an array without using library function
  274. Ruby program to find the prime numbers from the array
  275. Ruby program to search an item into the array using linear search
  276. Ruby program to search an item into the array using binary search
  277. Ruby program to search an item into the array using interpolation search
  278. Ruby program to sort an array in ascending order using selection sort
  279. Ruby program to sort an array in descending order using selection sort
  280. Ruby program to sort an array in ascending order using quick sort
  281. Ruby program to sort an array in ascending order using bubble sort
  282. Ruby program to sort an array in descending order using bubble sort
  283. Ruby program to sort an array in ascending order using insertion sort
  284. Ruby program to sort an array in descending order using insertion sort
  285. Ruby program to cyclically permutes the elements of the array
  286. Ruby program to delete an item from the array without using the library function
  287. Ruby program to insert an item into the array without using library function
  288. Ruby program to merge two integer arrays without using library function
  289. Ruby program to read and print two-dimensional array
  290. Ruby program to calculate the sum of matrix elements
  291. Ruby program to add two matrices
  292. Ruby program to calculate the sum of rows of matrix elements
  293. Ruby program to calculate the sum of columns of matrix elements
  294. Ruby program to print the transpose matrix
  295. Ruby program to print the left diagonal matrix
  296. Ruby program to print the right diagonal matrix
  297. Ruby program to calculate the sum of left diagonal the matrix
  298. Ruby program to calculate the sum of right diagonal the matrix
  299. Ruby program to implement single inheritance
  300. Ruby program to override the superclass method into sub-class
  301. Ruby program to call the overridden superclass method from the subclass
  302. Ruby program to call a superclass constructor from sub-class using the super() method
  303. Ruby program to initialize instance variables using the constructor
  304. Ruby program to implement the getter method
  305. Ruby program to implement getter and setter methods
  306. Ruby program to implement getter method using 'attr_reader' accessor
  307. Ruby program to implement setter method using 'attr_writer' accessor
  308. Ruby program to implement getter/setter method using 'attr_accessor' accessor
  309. Ruby program to implement multiple getter/setter methods using accessors
  310. Ruby program to get current date-time using inspect() method
  311. Ruby program to get the individual components of the current date-time
  312. Ruby program to get the current weekday
  313. Ruby program to get the current time zone
  314. Ruby program to get the current day of the year out of 365
  315. Ruby program to get the current weekday in 3 characters using strftime() method
  316. Ruby program to get the current weekday name using strftime() method
  317. Ruby program to get the current month name in 3 characters using strftime() method
  318. Ruby program to get the current month name using strftime() method
  319. Ruby program to get the current date-time using strftime() method
  320. Ruby program to get the current day number of the month using strftime() method
  321. Ruby program to get the current hour of the day in the 24-hour format using strftime() method
  322. Ruby program to get the current hour of the day in 12-hour format using strftime() method
  323. Ruby program to get the current day of the year using the strftime() method
  324. Ruby program to get the current month of the year using the strftime() method
  325. Ruby program to get the current minute of the hour using strftime() method
  326. Ruby program to get the Meridian indicator using strftime() method
  327. Ruby program to get the current second of minute using strftime() method
  328. Ruby program to get the current week-number of the year using strftime() method
  329. Shortest Un-ordered Subarray
  330. Ruby program to create a set of integer elements
  331. Ruby program to create add an element into set using add() method
  332. Ruby program to get the items from a set using 'for' loop
  333. Ruby program to convert a set into an array
  334. Ruby program to perform union operation between sets using '|' operator
  335. Ruby program to perform set difference between sets using '-' operator
  336. Ruby program to perform intersection between sets using '&' operator
  337. Ruby program to check a set is a superset of another set
  338. Ruby program to check a set is a subset of another set
  339. Ruby program to create a SortedSet of integer elements
  340. Ruby program to get the current week-number of the year, starting with the first Monday as the first day of the first week
  341. Ruby program to get the current day of the week (Sunday is 0) using strftime() method
  342. Ruby program to get the current date alone(no time) using strftime() method
  343. Ruby program to get the current time alone (no date) using strftime() method
  344. Ruby program to get the current year in two digits representation using strftime() method
  345. Ruby program to get the current year in four digits representation using strftime() method
  346. Ruby program to demonstrate the time arithmetic
  347. Ruby program to create an empty file
  348. Ruby program to write text into the file
  349. Ruby program to read entire text from the existing file
  350. Ruby program to read lines from the existing file
  351. Ruby program to read the specified number of characters from the existing file
  352. Ruby Basics | Find Output Programs | Set 1
  353. Ruby Basics | Find Output Programs | Set 2
  354. Ruby program to open a file in read-only mode
  355. Ruby program to open a file in write-only mode
  356. Ruby program to open a file in the read-write mode without truncating the file
  357. Ruby program to open a file in read-write mode with truncating file
  358. Ruby program to open a file in append mode
  359. Ruby conditional statements – Find output programs (set 1)
  360. Ruby conditional statements – Find output programs (set 2)
  361. Ruby conditional statements – Find output programs (set 3)
  362. Ruby program to open a file in append mode, open if the file does not exist
  363. Ruby program to rename a specified file by another name
  364. Ruby program to check a specified file is exist or not
  365. Ruby program to check a file has readable permission or not
  366. Ruby program to check a file has writable permission or not
  367. Ruby case statement – Find output programs (set 1)
  368. Ruby case statement – Find output programs (set 2)
  369. Ruby program to create a simple thread
  370. Ruby program to create multiple threads
  371. Ruby program to sleep thread execution for a specific time
  372. Ruby program to join multiple threads using each() method
  373. Ruby program to create a hash collection
  374. Ruby program to get keys from a hash collection
  375. Ruby program to compare two hash collections using '==' operator
  376. Ruby program to get value from the hash collection based on specified key
  377. Ruby program to add items into the hash collection
  378. Ruby program to remove all items from the hash collection
  379. Ruby program to delete the item from the hash collection based on a specific key
  380. Ruby program to check a hash collection is empty or not
  381. Ruby program to check a value is exist in the hash collection or not
  382. Ruby program to get key based on value from the hash collection
  383. Ruby program to print the inverted hash collection
  384. Ruby program to print the length of the hash collection
  385. Ruby program to merge two hash collections
  386. Ruby program to get the size of the hash collection
  387. Ruby program to check a given key is exist in the hash collection or not
  388. Ruby program to replace the items of hash collection from another hash collection
  389. Ruby program to get the hash elements as a sorted array from the hash collection
  390. Ruby program to store items into the hash collection
  391. Ruby program to convert the hash collection into the array
  392. Ruby program to convert the hash collection into the string
  393. Ruby program to search an item in the hash collection
  394. Ruby program to get hash collection values as an array
  395. Ruby program to demonstrate the delete_if() method
  396. Ruby program to iterate elements of a hash collection using each() method
  397. Ruby program to iterate hash collection and print only values
  398. Ruby program to create a directory
  399. Ruby program to check a directory is exist or not
  400. Ruby program to print the current working directory
  401. Ruby program to remove a specified directory
  402. Ruby program to get the list the name of files in a specified directory
  403. Ruby program to get the current working directory using Dir::getwd() method
  404. Ruby program to delete an empty directory using Dir::unlink(), Dir::delete() methods
  405. Ruby program to get the list of filenames matching the specified wild card pattern
  406. Ruby program to get the filename one by one using Dir::foreach() method
  407. Ruby program to print the home directory of the current user
  408. Ruby program to change the current directory using Dir::chdir() method
  409. Ruby program to demonstrate the Hash.inspect() function
  410. Java program to implement default or no-argument constructor



Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.