X343: Balance bags

Write a member method balanceBags in Java that implements the following logic: Given a String parameter the methods returns the String representation of the first letter.

Examples:

Test balanceBags() on two bags with this bag empty and another bag with a single item
Test balanceBags() on two bags with an even number of items, both bags have the same number of items.
Reset

Practice a different Java exercise