The 'throw' keyword is used to explicitly throw an exception in Java.
In Java, you use 'throw' to manually trigger an exception. This is useful when you want to handle error conditions explicitly in your code. For instance, if a method encounters an invalid input, it can use 'throw' to signal this issue by throwing an appropriate exception.