'Keyboard' not found

when i am trying to run a example (keyboardlogout). It is showing this error.

^

exit status 1
‘Keyboard’ not found. Does your sketch include the line ‘#include <Keyboard.h>’?

Can anyone give solution??

@kupalil0521, please do not hijack. Thread split.

Does your sketch include the line ‘#include <Keyboard.h>’?

The compiler asked you a question. Do you have any reason to believe that we are not interested in the answer?

What Arduino are you compiling for?

Where IS your code?