Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


       

Java Programming Code Examples

Java > Servlets Code Examples




Replace all Occurrences of a Character in a - Write a C program to 'Replace all Occurrence' of a character with another in a string using a Function. 'Input a string' from user, store it in some variable say str. Input old character and

Program find Reverse of Negative number - Write a recursive function in C Programming to find reverse of a number. To find reverse of a negative number use the logic for positive number reverse which I mentioned above. In

Program to Create Your Own Header File - Program to create your own header file in c programming. Write only function definition as you write in c program. Save above code with extension. Let name of our header file

Code Generates All Possible Combinations - Algorithm print all the 'possible combination' of each length from the given array. The time complexity of this algorithm is 'O(n*(2^n))'. A function to print all 'Combination of a Length'

C++ Program Code Print Number Entered - You'll learn to print the number entered by a user using C++ cout statement. This program asks user to enter a number. When enters an 'integer', it is stored in variable number using

Convert centimeter to meter & kilometer - C Program Code input Length in centimeter and convert it to meter and kilometer. How to convert length from centimeter to meter and kilometer in C. Input length centimeter

C Program Code Find Transpose of Matrix - In this c program, user is asked to entered the number of rows r and columns c. The value of r and c should be less than 10 in this program. The user is asked to enter elements of the...

C++ Programs to Implements D-ary-Heap - Filling up 'heap' with the array. A Function to check if heap is empty. Function to get index parent of i. Function to get index of k th child of i. Function to find least element. Function