公社 发表于 2025-3-23 11:16:13

Java Building BlocksThis chapter presents an introduction to the Java programming language. As such, it is not intended to be a comprehensive guide. It introduces the basic elements of the Java language, discusses the concept of classes and instances and how they are defined, presents methods and method definitions, and considers interface specifications.

唠叨 发表于 2025-3-23 16:32:17

Java ConstructsThis chapter presents more of the Java language. It considers the representation and use of numbers, strings and characters. It also discusses assignments, literals and variables. Finally, it considers messages, message types and their precedence.

令人发腻 发表于 2025-3-23 18:20:24

An Example Java ClassYou should now be ready to write some Java code, so this chapter takes you through a worked example. It is a very simple example, in which you create a new class, define some instance variables and write a couple of methods.

FRAX-tool 发表于 2025-3-23 23:45:51

Encapsulation and PolymorphismThis chapter discusses the encapsulation and polymorphic features of Java. It illustrates how the encapsulation facilities can allow quite fine-grained control over the visibility of elements of your programs. The concept of packages is also discussed, along with some concrete examples. The polymorphic nature of Java concludes the chapter.

aerial 发表于 2025-3-24 02:37:03

http://reply.papertrans.cn/51/5008/500711/500711_15.png

Addictive 发表于 2025-3-24 10:31:59

Control and IterationThis chapter introduces control and iteration in Java. In Java, as in many other languages, the mainstay of the control and iteration processes are the if and switch statements and the for and while loops.

Axillary 发表于 2025-3-24 12:34:08

http://reply.papertrans.cn/51/5008/500711/500711_17.png

Ige326 发表于 2025-3-24 18:20:35

http://reply.papertrans.cn/51/5008/500711/500711_18.png

follicular-unit 发表于 2025-3-24 19:33:29

Data Structuresa number of classes in the java. util package (see Appendix C), namely. Dictionary, Hashtable, Vector and Stack. We also consider how arrays are implemented in Java. The chapter concludes by considering automatic memory management.

有危险 发表于 2025-3-25 00:42:25

1431-1542 ow to build OO applications in JavaJava and Object Orientation: An Introduction is an introduction to object orientation for computer science students and those actively involved in the software industry. Object Orientation is discussed before the author goes on to introduce Java and, throughout, ob
页: 1 [2] 3 4 5 6
查看完整版本: Titlebook: Java and Object Orientation: An Introduction; John Hunt Textbook 19981st edition Springer-Verlag London Limited 1998 Java.Unified Modeling