We have called this unit 'Java in the small' after atermcoined by DeRemer and Kron in a 1976 paper.This refers to the programming of the internal parts of programs, in particular the contentsofmethods.
The previous unit introduced the idea of objectscommunicating through the invocation of methods on objects. In this unit you will learn:
how to write the internal parts of methods;
the different types of data that the language provides;
the facilitiesfor altering the flow of program execution.
Our discussion is still within the framework that we adoptedinthe previous unit. The code we show here is assumed to be embedded in methods that access, and sometimes modify,instance variables. Methods are in turncontained in classes, which we discussindetail in Unit3.
Our objective is to create code that will be easy to read (whether by the original writer or somebody else),aswell as easytomaintain.Ofcourse, it must also be correct!
EJB 3 in Action
Building on the bestselling first edition, EJB 3 in Action, Second Edition tackles EJB 3.2 head-on, through numerous code samples, real-life scenarios, and illustrations. This book is a fast-paced tutorial for Java EE 6 business component development using EJB 3.2, JPA 2, and CDI. Besides covering...
Fearless Drawing: Illustrated Adventures for Overcoming Artistic Adversity
Fearless Drawing is a fun and beautiful exercise and adventure book exploring how to rediscover the joy of drawing. There is a terrific fear attached to drawing, a frozen panic, a cry of "I can't draw!" Yet, embarking on these exciting drawing adventures will re-ignite the profound joy and artistic passion of drawing....
IBM Cognos TM1 Cookbook
IBM Cognos TM1 is one of the most popular multidimensional analysis tools used to build collaborative planning, budgeting, and forecasting solutions, as well as analytical and reporting applications. This cube-based technology does fast number crunching at the server end and helps end customers move away from manual and tedious planning,...
Documentum 6.5 Content Management Foundations
EMC Documentum is a leading Enterprise Content Management technology platform that helps enterprises to streamline the capture, processing, and distribution of business information including documents, records, e-mails, web content, images, reports, and digital assets. EMC Proven Professional is an exam-based certification program, which...