Intro To Software Development Flashcards
JDK
Java Development Kit
Editor
Programmer writes source code
Linker
Converts one or several object modules into an executable program
Compiler
Converts source code to object code (machine code)
Debugger
Program, makes it easier to find bugs (semantics errors)
IDE
Integrated Development Environment
Compiled language
Edit- compile- link- run
Interpreter languages
Edit - run
Compiler vs interpreter
Both: check syntax, concert source -machine code
Compiler: all at once (executable runs faster)
Interpreter: one line at a time (slower execution)
Java’s hybrid approach
Compiler & interpreter
Compiler: source code - instructions for the Java virtual machine
Instructions = BYTECODES, same for any computer
CPU specific Java interpreter interprets bytecodes on particular computer
Bytecodes
- platform independent
- source code not revealed to end users (security)
- interpreter =add. security checks, takes away bad code
- can’t get to hardware in Java
Types of programs
Console Applications
GUI Applications
Applets
Console applications
Simple text dialog
•command - line arguments
(Passed to main as array of string)
GUI Applications Include
Menus, buttons, clickable panel, slider, GUI LIBRARIES
Applets
No main, initial method called by JDKs appletviewer (the browser)