Japanese as language

The answer is 日本語(にほんご・nihongo).

Nihon is the country name, equivalent to Japan in English.

ご (go) after a country name means the language.

Japanese as people

The answer is 日本人(にほんじん・nihonjin).

じん(jin) after a country name means the nationality of the people.