Java chapter 2

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

First, Java is a modern object-oriented programming language. Second, Java is secure, robust and portable. Third Java supports the use of advanced programming concepts such as threads.

List three reasons why Java is an important programming language

System.out, reader

List two objects that are used for terminal input and output in Java programs

Variable

Names a location in RAM and stores whatever info that it was assigned to, can change.

Hacking

Programming with rare problem solving ability and commands the respect of other programmers. After many years, hacking has obtained a darker meaning as an act of breaking into computer systems without being permitted

Messages

Programs manipulate objects by sending them ____

Turtle graphics

Provide a simple and enjoyable way to draw pictures in a window and allow us to send many messages to an object

Terminal io, gui

Two user interface styles are

Terminal IO interface

User interface that is text based

To import external classes into your program

What is the purpose of an import statement

Byte code

the machine language for an imaginary Java computer. Jvm must be installed on the computer in order to run Java byte code translated into by a Java compiler and interpreted by JVM

Java virtual machine

A program that allows a computer to execute and interpret a Java program

Statement

A small unit that is a complete instruction. They contain expressions

Integrated development environment

A software application that provides a variety of tools to help programmers with software development

Source code

All the instructions of a programming language a programmer uses to build the program

Dos development environment

Different versions of Microsoft Windows and NT using notepad for the editor, with command line activation of the compiler and the jvm from inside a command or dos window

Graphical user interface

Familiar and comfortable,type of interface that uses graphcials icons and visual indicators

Sending a member of a class that is not really there, and missing a semicolon

Give two examples of compile time werors

To make it easier for someone to follow your code

Purpose of a comment

Assignment operator

Sets a value to a variable (=)

Applet

Small Applications that run on a web browser that contain small java programs

Assignment statement

Stores the value of the expression in the variable

Just-in-time compilation

The act of byte compiling byte code into machine code when it is first encountered

System.out.println();

The message ____ is used to output data to the terminalio

readInt();

The message____ Is used to input an integer from the keyboard

Parameter

The type of data a method can receive

Edit, compile, execute

Three steps to run a successful Java program


संबंधित स्टडी सेट्स

Educational Psychology Practice Quizzes

View Set