GoConqr has a new look! Let us know what you think.

Flashcards

Java Theory and Debugging

Virginie Gagné Computer Science English 10 cards

Java Theory and Debugging

Cards in this deck (10)

  1. 1what's a Java program?or "application",
    a Java class that has a main method
    what's a Java program?
  2. 2what's a compiler? a Java compiler?a program that translates a higher level language into a lower level language
    program that translates a Java source file into a Java class file. The latter is byte code.
  3. 3what's a compiler error? what happens if there is one?aka "syntax error"
    If a program has invalid syntax, then the compiler reports an error.
    then the compiler does not produce a .class file. You need to edit your code.
  4. 4what's the Java Virtual Machine (JVM)?The JVM interprets the byte code, translating it into machine code instructions that run on the physical computer.
  5. 5what's the Java Runtime Environment (JRE)?what's the Java Runtime Environment (JRE)?
  6. 6what's the Java Development Kit (JDK)?includes the Java compiler and debugging tools and the JRE
  7. 7what's the Java documentation (API)?part of the JDK
    "Application Programming Interface"
    defines all classes in the standard library.
  8. 8name the 3 kinds of errorscompiler/syntax errors
    runtime errors
    logic errors
  9. 9what's a runtime error?Java "exceptions"
    the program does not finish executing (it crashes)
    e.g. ArrayIndexOutOfBoundsException, NullPointerException
  10. 10what's a logic error?the program runs, but the result is incorrect

Information

Description
Computer Science Flashcards on Java Theory and Debugging, created by Virginie Gagné on 17/04/2022.
Created by
Virginie Gagné
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?