Logic errors that are so severe that Java stops your program from executing
1. Using a variable before it is given a valueThis is a common error found in both object-oriented and procedural languages. In Java,primitive variables must be initialized to zero or some…





