D
deadlock

Deadlock is an unrecoverable state sometimes encountered in thread programming. It occurs under the following circumstances: thread A has a lock on object X, and is waiting for the lock to object Y; meanwhile, thread B has the lock on object Y, and is waiting for the lock on object X. In the event of a deadlock, program execution will simply suspend indefinitely, making it difficult to debug.

declaration

A statement that creates an identifier and associates attributes with it. Declaring a data item may or may not reserve memory space. A method declaration may or may not also provide the implementation.

default

A Java keyword used within a switch block to indicate the code block to execute if no case value matches the switch value.

do ...

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.