can anyone tell me how can i connect one string with a group of strings and each string have certain value.
for exampe:

```
String car = new String()
//i give it a value of say 10 dollars
and then i have this group of Strings/Objects
for example:
String frontWindow = new String()
//i set a value for it
String backWindow = new String()
//i set a value for it
String wheel = new String()
//i set a value for it

```

And i want to calculate the sum of the car with some or all of the string above.I thought about usint the print method but then i would be able to choose only all strings.So does anyone know how can i make this work in the console output?