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 > Java AWT Code Examples

Using a Choice button to select a font

C Program Find Day when a Date is given - Don't U know that there is no month greater than 12. Enter valid month Once again enter the Date Month Year. Fool, Invalid date in February of non leap year. The maximum...

Checks a Character is Capital Letter or Not - Takes input a Character and Check it whether a 'character' is capital letter, small letter, Digit or Special character. 'All characters' like small or capital letters, digits and special characters

Maximum Minimum Elements in the Array - How to find maximum and minimum element in an array using recursion in C programming. Recursion works on the concept of divide and conquer. We break the problem in its smallest

Compare two Binary Files and Printing the - C Compare two binary files, printing the first byte position where they differ. Compare two binary files character by character. Character by character comparision. If equal, continue

C++ Describe the Representation of graph - This algorithm represents a given graph using 'Adjacency List'. This method of representing graphs isn't efficient. The time complexity of this algorithm is O(v*e). Print the 'adjacency'

Qsort Sort [array of pointers to structures] - Code compare function for qsort. Add ONE element to the array. Allocate memory for ONE 'struct node'. Copy the data into the new element ( structure ). Qsort array of...

Programs Performs Naive String Matching - C++ Program perform Naive String matching algorithm. "String Searching" algorithm is an important class of string algorithm that try to find a place where one or several strings (also

Program code to Reverse a Given Number - Take the Number which you have to Reverse as the input. Obtain its quotient & remainder. Multiply the separate variable with 10 & add the obtained remainder to it. Do step 2 again