I found that in the endodermis, the tangential and radial walls have deposition of the waxy, and hence water-impermeable, material suberin in the form of casparian strips. The endodermis comes before the vascular bundle so how is water absorbed in roots?
The plants do have waxy walls and stuff, the plants use "Suction Method" to suck the water from the ground. Due to transpiration plants loose water from the top or aerial region of the plant and since water is absent in that region there is vacuum present so it sucks water from the ground. This is how plants absorb water.
[Reference--- https://en.wikipedia.org/wiki/Xylem ]
[Ref. Wiki Images and text part and cross check for better understanding]