About This Quiz
Java is a popular programming language that's relatively easy to use. Are you a programming guru or a novice? Take our quiz to find out.Java is a computer programming language.
The Java development environment is a special software development kit that lets you construct a Java program within a virtual test environment.
Applets are simple computer programs that perform specific tasks and don't require hefty computer resources.
Advertisement
When you create a program using the Java language, remember that it matters what case you use. Java differentiates between lower and upper case letters -- and you can't substitute one for the other.
Once a Java file goes through a compiler and becomes readable by machines, it gains the .class file extension.
Java is an object-oriented programming language, meaning it focuses on objects (software). Each object has its own state and behavior.
Advertisement
In Java, a method is a function, or particular behavior, of an object.
Bugs are code mistakes that cause computer programs to behave in weird ways or to not work at all. Removing bugs is called debugging.
Execution, or run-time, errors refer to the kind of bug that produces an unexpected (and unintended) result when you run your program.
Advertisement
Variables hold pieces of data temporarily. For example, a program might ask for a user's name when it first executes. The user name is temporarily stored as a variable and the program may refer back to that data until the user ends the program.
Compilers translate programs from a human-readable format into a machine-readable one.
Problems in your Java code could prevent the program from running correctly; debugging the code removes those errors.
Advertisement
There are two types of variables in Java — simple, or primitive, variables and classes.
About half of the time a programmer spends on a program will be devoted to debugging.
Notepad (or any text editor that can create TXT files) is needed when developing a Java program.
Advertisement
While there are many computer programming languages, Soliloquy isn’t one.
HTML is needed to house the Java program. The HTML page is opened in the browser.
These EXE files are the output of compilers and contain executables.
Advertisement
In Java programming, you can use a “while” statement to cause your code to loop or repeat.