A bug is an error in your computer program that causes it to produce incorrect or unexpected results
The term bug was coined in 1947 by Grace Hopper, an engineer who discovered her program on a Harvard University Mark II computer was not working because a moth was stuck in one of the relays (a type of mechanical switch)
Debugging (troubleshooting) is the process of finding and fixing problems (bugs) in a computer program
There are several approaches to consider when debugging
Understand and fix compiler errors and warnings
Write comments in the code to remind yourself to fix it later
Manually set variables to specific values for verifying your program results
Temporarily comment out suspected code to disable it
Insert print statements throughout your program to watch values of variables
Visually inspect the code, or have a friend/coworker review it
Use the IDE’s debugger tool
Use a testing framework such as JUnit
Please SUBSCRIBE, and check out some other Java Tutorial videos!
How to Download and Install the Java JDK for Setting Up Your Java Development Environment
• How to Download and Install the Java ...
How to Download and Install the Eclipse IDE for Java Developers and Run Hello World
• How to Download and Install the Eclip...
Compile and Run Java Programs Using the Command Line with java and javac - Setup JDK Path
• Compile and Run Java Programs Using t...
Introduction to Programming and Java
• Introduction to Programming and Java ...
Basic Java Output using print and println Methods and HelloWorld Program
• Basic Java Output using print and pri...
Basic Java Input using Scanner methods next and nextInt
• Basic Java Input using Scanner method...
Java Comments
• Java Comments - Single Line Block Sty...
Java Whitespaces - Whitespace Characters in your Program
• Java Whitespaces - Whitespace Charact...
Java Program Bugs and Debugging
• Java Program Bugs and Software Debugg...
Java Syntax Errors and Compiler Errors
• Java Syntax Errors and Compiler Error...
Java Runtime Errors
• Video
Java Logic Errors
• Java Logic Errors - Example of a Logi...
Java Compiler Warnings
• Java Compiler Warnings in Eclipse - H...
History of Computers and Programs
• History of Computers and Programming ...
A Basic Overview of Computer Hardware
• A Basic Overview of Computer Hardware...
History of Java
• History of the Java and Programming L...
The Java Compiler and the JVM
• The Java Compiler and the Java Virtua...
Auf dieser Seite können Sie das Online-Video Java Program Bugs and Software Debugging Overview - Java Tutorial - Appficial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Appficial 23 September 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,410 Mal angesehen und es wurde von 36 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!