Here is one sentence: He encountered a general feeling of resistance from many citizens.
Here is another sentence: These trees are widely planted because of their resistance to salt and smog.
Does the term resistance mean the same thing in both these sentences?
different meanings