Question: how does california economy rank in the world
Answer: If the state were considered separately , it would rank as the fifth largest economy in the world , behind rest of the United States , China , Japan , and Germany as of 2017 .