# Java Programming Code Examples

## Java > Security Code Examples

### GenerateSignature

Convert Strings to UpperCase use Pointers -
C program to 'convert string' from Lowercase to uppercase string using loop. All characters are represented as an integer value known as "ASCII" value. Where A is represented with 65

Find the Number of Permutations of given -
Prints a total number of permutation possible for a given string. The time complexity of this algorithm is "O(n)". Algorithm takes the input of the string. Then it checks for the repetition

Find the two Elements such that their Sum -
Initialize the array named array[] with the random values. Call function minabsvaluepair and pass array and its size as parameters. In the function definition receive parameters...

C Program Code Clear NTH bit of Number -
Program Input number and nth bit position to clear from user. Store it in some variable say j and n. Left shift 1, n times i.e. 1 << n. Perform bitwise complement with the above result...

Implementation for Deterministic Skip list -
Finding the smallest item in the tree. Return smallest item or 'INFINITY' if empty. Find the largest item in the tree. "Return the Largest" item or INFINITY if empty. Find item x in the

C Program Code to Catch pressing Ctrl+C -
Program example catches the Ctrl-C (SIGINT) signal for the first time and prints a output rather but exits on pressing ctrl-c again. You have presses Ctrl-C, please press again to exit

Reads an Array and Search for an Element -
C program accept an array of N elements and a key to search. Search is successful, displays the message "Successful Search". Otherwise, the message "Unsuccessful Search" is display.

C++ Mathematic Code Add Two Numbers -
In this C++ program, user is asked to enter 2 integers. Then, the sum of those 2 integers is stored in a variable and 'displayed' on screen. The variables firstNumber & secondNumber