Does "practice" mean the same thing in these two sentences?

The practice of the law.

I took over his practice when he retired.
the same meaning