欢迎访问24帧网!

Starting Out with Java: From Control Structures through Objects 6th Edition by Tony Gaddis Solution

分享 时间: 加入收藏 我要投稿 点赞

12.        A Java Virtual Machine (JVM) program.
13.      Machine language code is executed directly by the CPU. Byte code is executed by the JVM.
14.        Because Java byte code is the same for all computers.
15.        Object-oriented programming
16.      When an object’s internal data is hidden from outside code and access to that data is restricted to the object’s methods, the data is protected from accidental corruption. In addition, the programming code outside the object does not need to know about the format or internal structure of the object’s data. The code only needs to interact with the object’s methods. When a programmer changes the structure of an object’s internal data, he or she also modifies the object’s methods so they may properly operate on the data. The way in which outside code interacts with the methods, however, does not change.
17.        The object's methods.
18.      A text editor.
19.      No
20.      Byte code
21.      javac LabAssignment.java
22.
a)        LabAssignment.class
b)        The byte code generated by the compiler.
c)        java LabAssignment
 
 
 

精选图文

221381
领取福利

微信扫码领取福利

微信扫码分享