String Sorting in Java

This is a sample Java program to demonstrate string sorting. The function uses a space character as a separator between words. It iterates through each word in the input string and creates a words[] array. Finally it sorts the array of the words in ascending order of the letters i.e. a->z and displays the sorted array by printing one word at each line.

Show Volumes of Earth and Sun

Show Volumes of Earth and Sun and their ratios 12345678910111213141516171819202122232425262728293031323334 /********************************************************     MYCPLUS Sample Code - https://www.mycplus.com    ...

Demonstration of the try-catch-finally in Java

This is a demonstration of the try-catch-finally exception handling mechanism in java programming language. It shows different mechanisms on how to handle exceptions, catch errors and show error messages.

Car Race Game

This is a simple C++ program to make a car race game. It uses object oriented approach to generate different objects in the game such as using Car, Obstacle and Timer classes. The code draw objects using Graphics Mode by using initgraph() function. You have to reach...

Design patterns

“describe a problem which occurs over and over again in our environment, and then describe the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice” –...

Message Digest Utility

This is a special console based utility which will calculate the Message Digest, Base 64 Encoding and Decoding, Checks the Message Digest and give output through file or through screen you can use this class to make the dll. Help is included in the main.cpp creating...