Comp. B11 Quiz 1

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Which one of the following programs can execute Java class files?

Virtual machine

Which of the following statements must you include in a Java class that can be executed by the virtual machine?

public static void main(String[] args)

Which of the following statements is valid with respect to the usage of a semicolon in Java?

A semicolon is used to denote the end of a statement.

When a Java string does not have surrounding double quotes, what type of error occurs?

Compile-time error

Which one of the following errors represents a part of a program that is incorrect according to the rules of the programming language?

Compile-time errors

Which one of the following translates high-level languages into detailed machine instructions?

Compiler

Which one of the following statements is true about a Java compiler?

It translates the source code into the virtual machine code.

Which one of the following options refers to a sequence of steps that a computer executes?

Program

The programs that a computer executes are called

Software

What is the output of the Java compiler?

class files


Ensembles d'études connexes

CNA- Priorities and priority setting

View Set

B.S. Chapters 2 & 3 Culture and Socialization

View Set

Fundamentals of Programming Chapter 1 & 2 Notes

View Set