If the cost of producing a product in one country is lower than that in another country, then the country has a comparative advantage over another country in the production of this commodity.
According to the above definition, country A has a large population and cheap labor that attracts most mobile phone manufacturing companies of country B to set up production lines in country A. Compared with country B, country A has a comparative advantage in mobile phone production.