
Write a Java class that stores an integer item id, a string item name and a float price. Store all these in a String member Variable, separated by a space delimiter. Use an overloaded method to add these different types to the String member. Provide a get method to retrieve the formatted string member and display it on the console. In addition, as a second part of this exercise, initialize a couple of String objects that contain an integer and float number respectively. Determine the numeric values of these two Strings and calculate the average of the two.