000 - Introduction to the Java Technology Flashcards
Which ten buzzwords can be used to describe the Java programming language?
Simple Object oriented Distributed Multithreaded Dynamic Architecture neutral Portable High performance Robust Secure
Java is __________ so it can be programmed without extensive programmer training while being attuned to current software practices and programmers can be productive from the very beginning.
simple
Java is _________, so that current developers can easily learn the Java programming language
familiar
Java is _________, to take advantage of modern software development methodologies and to fit into distributed client-server applications
object oriented
Java is _________, for high performance in applications that need to perform multiple concurrent activities, such as multimedia;
multithreaded
Java is _________, for maximum portability and dynamic capabilities.
interpreted
Java is _________ because it provides extensive compile-time checking, followed by run-time checking.
The memory management model is extremely simple: objects are created with a new operator.
There are no explicit programmer-defined pointer data types, no pointer arithmetic, and automatic garbage collection.
Robust
Java is designed to operate in distributed environments, it has security features designed into the language and run-time system,
Java applications are _________ from intrusion.
secure
the Java Compiler TM product generates bytecodes–an _________ intermediate format designed to transport code efficiently to multiple hardware and software platforms.
architecture neutral
Java is ________ , so it solves both the binary distribution problem and the version problem. Also it is
strict in its definition of the basic language: it specifies the sizes of its basic data types and the behavior of its arithmetic operators.
Portable
The architecture-neutral and portable language platform of Java technology is known as __________
the Java virtual machine.
Java technology is both a ___________________ and a __________
Java technology is both a programming language and a platform.
The Java virtual machine is based primarily on which interface specification?
The POSIX specification–an industry-standard definition of a portable system interface.
Java has __________ by adopting a scheme by which the interpreter can run at full speed without needing to check the run-time environment.
high performance
The __________ runs as a low-priority background thread, ensuring a high probability that memory is available when required
automatic garbage collector
The _________ can execute __________ directly on any machine to which it and the _________ system have been ported.
Java interpreter
Java bytecodes
run-time
While the Java Compiler is strict in its compile-time static checking, the language and run-time system are _________ in their linking stages. Classes are linked only as needed. New code modules can be linked in on demand from a variety of sources, even from sources across a network.
dynamic
In Java, how do you obtain the effects of #define?
by using constants.
In Java how do you obtain the effects of typedef?
by declaring classes–after all, a class effectively declares a new type.
Why don’t you need header files in Java?
You don’t need header files because the Java compiler compiles class definitions into a binary form that retains all the type information through to link time.
In the Java programming language, all source code is first written in plain text files ending with the _________ extension.
.java
.java source files are compiled into _________ files by __________.
.class the javac compiler
A .class file does not contain code that is native to your processor; it instead contains _________ — the machine language of the Java Virtual Machine (Java VM).
bytecodes
The Java platform has two components:
The Java Virtual Machine
The Java Application Programming Interface (API)
__________ is a large collection of ready-made software components that provide many useful capabilities.
The API
The API is grouped into libraries of related classes and interfaces; these libraries are known as _________
packages
The _________ provide everything you’ll need for compiling, running, monitoring, debugging, and documenting your applications.
development tools
_________ spans everything from basic objects, to networking and security, to XML generation and database access, and more.
The API
JavaFX, Swing, and Java 2D toolkits make it possible to create sophisticated ________.
Graphical User Interfaces (GUIs)
_________ such as the Java IDL API, JDBC API, Java Naming and Directory Interface (JNDI) API, Java RMI, and Java Remote Method Invocation over Internet Inter-ORB Protocol Technology (Java RMI-IIOP Technology) enable database access and manipulation of remote objects.
Integration libraries
After compiling the IDE invokes the _________, which uses the Java virtual machine to run your application.
Java application launcher tool (java)