Java – What does static and IOException mean

java

I just had a test on java and we had to give the definition of
1) Static:
2) IOExcepion:

What I said for static was…a static method is used to define a method as a class method. And I got it wrong so I asked my teacher and he said he wants the actually definition of static not a static method, class or variable just static. Can someone tell me the definition of this and for IOException please Thanks.

Best Answer

Static - A member/method that belongs to a class, not an instance of a class (Does not need to be instaciated to be used).

IOException - Exception thrown when there has been an Input/Output (usually when working with files) error.