Java Programs  «Prev  Next»

Java Application - Quiz

Each question is worth one point. Select the best answer or answers for each question.
 
1. Which of the following methods forms the heart of a Java application and is called by the Java interpreter to actually run the application?
Please select the best answer.
  A. begin()
  B. init()
  C. main()


2. Information entered on the command-line when you execute an application is referred to as:
Please select the best answer.
  A. Application initialization data
  B. Command-line arguments
  C. Application parameters


3. Which one of the following devices is typically associated with the System.in object?
Please select the best answer.
  A. Keyboard
  B. Mouse
  C. Floppy drive

4. Which one of the following methods is used with the System.out object to print information to standard output?
Please select the best answer.
  A. printf()
  B. println()
  C. printLine()

Your score is 0.0


Java Language