add sample for String demonstrations for compile time and run time as well as intern method to get the same string object if its contents is equals if using equals() method.