Is Hong Kong in China or japan?

Hong Kong is not in either country. Although officially a special administrative region of the People's Republic of China, Hong Kong resides on its own island, separate of the Mainland.

Hong Kong is complete with its own set of laws and regulations, even under Chinese control. Hong Kong operates under a capitalist government instead of a communist government, such is China.