BEIJING — China’s economy stabilized in the first three months of the year, according to official figures released on Wednesday, after Beijing flooded the financial system with money in a whatever-it-takes approach to arrest a slowdown.

Officials said that the Chinese economy, the world’s second largest, grew 6.4 percent in the year’s first quarter compared with the same period in 2018. The pace matched that of the fourth quarter, when growth suffered as shoppers pared back, the stock market slumped and private businesses pleaded for help.

While economists generally regard China’s economic figures with skepticism, they point to signs that the country’s current slowdown may have reached bottom. Other figures suggest shoppers are back at the tills, factory output is ticking up and the world, after several tough months, is buying more Chinese goods. Beijing needs such hopeful signals as it tries to reach a trade deal with the Trump administration while under pressure to lift conditions at home.

Officials “spared no effort to put the policies into effect,” and growth in the first quarter “laid a sound foundation for the stable and healthy economic development of the whole year,” said Mao Shengyong, a spokesman for the National Bureau of Statistics.