T,\CPE IN R.E .. t\LSP.A.CES

icon

9

pages

icon

English

icon

Documents

Écrit par

Publié par

Lire un extrait
Lire un extrait

Obtenez un accès à la bibliothèque pour le consulter en ligne En savoir plus

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris
icon

9

pages

icon

English

icon

Documents

Lire un extrait
Lire un extrait

Obtenez un accès à la bibliothèque pour le consulter en ligne En savoir plus

  • exposé
  • exposé - matière potentielle : by induction
\ I ():\' PR,OBLErvI ()F COLOlJRING OF T,\CPE IN R.E .. t\LSP.A.CES lVliriana Vuletic . . ]O\''::tll Jovanovic Zrnaj High School; Novi' Sad Igor Dolinka, Fac:ult.y of Science, University of Novi Sad 1. Introduction .\ rc,li):nir:g d c:nn, set of ohjeds X in 1,: ('olonrs we call a function f .
  • ternary structure of order
  • forrnal definition
  • sirnplectic zone
  • colouring of plain
  • colour ct
  • base
  • definition
  • order
  • space
  • points
Voir icon arrow

Publié par

Nombre de lectures

14

Langue

English

CS 242
The Java Programming Language
John Mitchell
Reading: Chapter 13 +Gilad Bracha, Generics in the Java Programming Language, Sun Microsystems, 2004 (see web site).
Origins of the language
‹James Gosling and others at Sun, 1990  95 ‹Oak language for “settop box” small networked device with television display – graphics – execution of simple programs – communication between local program and remote site – no “expert programmer” to deal with crash, etc. ‹Internet application simple language for writing programs that can be transmitted over network
General design decisions
‹Simplicity Almost everything is an object All objects on heap, accessed through pointers No functions, no multiple inheritance, no go to, no operator overloading, few automatic coercions ‹Portability and network transfer Bytecode interpreter on many platforms ‹Reliability and Safety Typed source and typed bytecode language Runtime type and bounds checks Garbage collection
Outline
‹Language Overview History and design goals ‹Classes and Inheritance Object features
Inheritance ‹Types and Subtyping Primitive and ref types Interfaces; arrays Exception hierarchy ‹Generics Subtype polymorphism. generic programming
Design Goals
 next lecture(separate slides) ‹Virtual machine overview Loader and initialization Linker and verifier Bytecode interpreter ‹Method lookup four different bytecodes ‹Verifier analysis ‹Implementation of generics ‹Security Buffer overflow Java “sandbox” Type safety and attacks
‹Portability Internetwide distribution: PC, Unix, Mac ‹Reliability Avoid ro ram crashes and error messa es ‹Safety Programmer may be malicious ‹Simplicity and familiarity Appeal to average programmer; less complex than C++ ‹Efficiency Important but secondary
Java System
‹The Java programming language ‹Compiler and runtime system Programmer compiles code code transmitted on networkCom iled Receiver executes on interpreter (JVM) Safety checks made before/during execution ‹Library, including graphics, security, etc. Large library made it easier for projects to adopt Java Interoperability – Provision for “native” methods
1
Voir icon more
Alternate Text