Wednesday, July 10, 2013
We are saying that java is not purely object oriented since primitive data types are not objects.
See the below code:
how object is holding primitive data type?
It's called autoboxing. Basically, the Java compiler converts primitive data types into objects for you when you use them in a context that requires them to be objects.
int are wrapped in a Integer Object.
Java is not purely object oriented.
<context:property-placeholder properties-ref="propertyConfigurer" />
<spring:eval expression="@propertyConfigurer.getProperty('propertyNameHere')" />