C
case

A Java keyword, case is used inside a switch block to define a set of statements to be executed conditionally, depending on whether the case value matches the supplied switch value.

cast

To convert one data type to another. There are implicit primitive casts, in which you do not write the code to perform the conversion—it is done automatically. An explicit primitive cast demands that you write the code to perform the cast, because you are narrowing the primitive (putting it into a smaller container—for example, casting a long into an int). Narrowing conversions can cause loss of precision, which is why you must explicitly perform it.

catch

A Java keyword used to declare a block of statements to be executed in the event that an exception is ...

Get Java Garage now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.