Barclays interview question

define spring? Define memory management in java