News

Programs Included -Check if one string contains another-Reads two strings from the user. -Checks if the first string contains the second string. -Swap two strings without a third variable. Swaps the ...
How to swap two variables in one line in java?// java program to swap two variables in single lineclass demo{ public static void main (string[] args) { int a = 6, b = 11; a = a ^ b ^ (b = a); ...