虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

OBJECT

对象OBJECT是经常用于模仿现实世界中我们身边的一些对象。
  • 实验8 继承与多态 8.1 实验目的 (1) 理解类的继承

    实验8 继承与多态 8.1 实验目的 (1) 理解类的继承,掌握变量隐藏、方法覆盖的概念。 (2)理解引用类型的变量的赋值转换原则。 (3)理解多态概念,掌握方法的匹配调用原则; (4)理解抽象类与接口的使用; (5)理解this和super的含义及使用。 (6)理解访问控制符的使用 8.2 知识要点 8.2.1 继承的概念 通过类的继承,祖先类的所有成员均将成为子类拥有的“财富”。但是能否通过子类对象直接访问这些成员则取决于访问权限设置。OBJECT类是所有类的祖先。 8.2.2 构造方法与继承关系 构造方法不存在继承关系,子类中是如何给父类继承的属性赋初值呢? 子类通过调用父类的构造方法给父类的属性赋值,在子类的构造方法的第1行可以通过super去调用父类的构造方法,如果没有super调用,则默认调用父类的无参构造方法。所以,在父类中编写构造方法通常均要提供无参构造方法。 8.2.3 对象引用变量赋值原则 可以将子类的对象引用赋值给父类引用变量,由于父类能操作访问属性和方法的子类已全部继承。但将父类引用变量的值赋给子类引用变量就受到限制,必须进行强制转换,编译总是认可强制转换,但运行程序时如果不能正确转换就会报错。

    标签: 8.1 实验

    上传时间: 2016-08-05

    上传用户:baiom

  • sql equipment management system for the Institute of Laboratory office automation management system

    sql equipment management system for the Institute of Laboratory office automation management system an important part of it can lend to the return of the equipment scrapped and a new standardized management, thereby increasing efficiency and avoiding waste of resources.  background database using Access, prospects of development tools using Visual Basic.  The system uses ADO data access technology, and each database table and operation of the field to the type of package, which succeeded in OBJECT-oriented programming thinking applied to the database application design.

    标签: management system Laboratory automation

    上传时间: 2016-08-15

    上传用户:784533221

  • Visual tracking is one of the key components for robots to accomplish a given task in a dynamic env

    Visual tracking is one of the key components for robots to accomplish a given task in a dynamic environment, especially when independently moving OBJECTs are included. This paper proposes an extension of Adaptive Visual Servoing (hereafter, AVS) for unknown moving OBJECT tracking. The method utilizes binocular stereo vision, but does not need the knowledge of camera parameters. Only one assumption is that the system need stationary references in the both images by which the system can predict the motion of unknown moving OBJECTs. The basic ideas how we extended the AVS method such that it can track unknown moving OBJECTs are given and formalized into a new AVS system. The experimental results with proposed control architecture are shown and a discussion is given.

    标签: components accomplish tracking dynamic

    上传时间: 2013-12-11

    上传用户:lizhen9880

  • Java MP3 Player, Here s a list of features: - Reads, creates, updates, and removes id3v2.3 and id3

    Java MP3 Player, Here s a list of features: - Reads, creates, updates, and removes id3v2.3 and id3v2.4 tags - Reads, creates, updates, and removes id3v1 tags - Extracts MPEG data such as bit rate, sample rate, channel mode, etc. - Calculates playing time of mp3 from mpeg information (no good w/VBR) - Can read and create Winamp styled playlists - Offers other utility classes such as MP3FileFilter and MP3Comparator - NullsoftID3GenreTable OBJECT keeps a list of genres for you and can automatically determine the id3v1 genre from an id3v2 string or the other way around

    标签: and features creates updates

    上传时间: 2014-11-21

    上传用户:qq521

  • This sample displays a basic integer calculator powered by the 8051 microcontroller. Although Keil

    This sample displays a basic integer calculator powered by the 8051 microcontroller. Although Keil C51 has a full floating point math library the evaluation version is restricted to 2k of OBJECT code, so we have constrained this sample to integer maths in order to fit within this limit. The program for this design was written in C using the Keil uVision 2 IDE for which Proteus VSM provides a Debug Monitor driver. Instructions for configuring Proteus to run in conjunction with the Keil environment can be found by editing the 8051 microcontroller on the schematic (point at it and press CTRL-E) and then clicking on the help button on the Edit Component dialogue form.

    标签: microcontroller calculator Although displays

    上传时间: 2014-12-01

    上传用户:edisonfather

  • For advanced geometry, most apps will prefer to load pre-authored meshes from a file. Fortunately,

    For advanced geometry, most apps will prefer to load pre-authored meshes from a file. Fortunately, when using meshes, D3DX does most of the work for this, parsing a geometry file and creating vertx buffers for us. This tutorial shows how to use a D3DXMESH OBJECT, including loading it from a file and rendering it. One thing D3DX does not handle for us is the materials and textures for a mesh, so note that we have to handle those manually.

    标签: pre-authored Fortunately advanced geometry

    上传时间: 2013-12-26

    上传用户:sssl

  • 是一本介绍java基础应用的好书 Java For Artists targets both the undergraduate computer science or information te

    是一本介绍java基础应用的好书 Java For Artists targets both the undergraduate computer science or information technology student and the practicing programmer. It is both an introductory-level textbook and trade book. As a textbook it employs learning OBJECTives, skill-building exercises, suggested projects, and self-test questions to reinforce the learning experience. The projects offered range from the easy to the extremely challenging. It covers all the topics you’d expect to find in an introductory Java programming textbook and then some. As a trade book it goes purposefully deeper into topics cut short or avoided completely in most introductory textbooks. Its coverage of advanced GUI programming techniques, network programming and OBJECT-oriented theory will enable you to take your skills to a higher level.

    标签: undergraduate information computer Artists

    上传时间: 2016-09-28

    上传用户:qiaoyue

  • Aspect-Oriented Software Developement Coverage includes Using AOSD to streamline complex systems

    Aspect-Oriented Software Developement Coverage includes Using AOSD to streamline complex systems development without sacrificing flexibility or scalability How AOSD builds on the OBJECT-oriented paradigmand how it s different State-of-the-art best practices for the AOSD development process Languages and foundations: separating concerns, filter technologies, improving modularity, integrating new features, and more Using key AOSD tools, including AspectJ, Hyper/J, JMangler, and Java Aspect Components Engineering aspect-oriented systems: UML, concern modeling and elaboration, dependency management, and aspect composition Developing more secure applications with AOSD techniques Applying aspect-oriented programming to database systems Building dynamic aspect-oriented infrastructure

    标签: Aspect-Oriented Developement streamline Software

    上传时间: 2013-12-01

    上传用户:jennyzai

  • This GLib version 2.16.1. GLib is the low-level core library that forms the basis for projects such

    This GLib version 2.16.1. GLib is the low-level core library that forms the basis for projects such as GTK+ and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an OBJECT system.

    标签: GLib the low-level projects

    上传时间: 2013-12-19

    上传用户:tb_6877751

  • 学会一个程序语言

    学会一个程序语言,是一回事儿;学会如何以此语言设计并实作出有效的程序,又是一 回事儿。C++ 尤其如此,因为它很不寻常地涵盖了罕见的威力和丰富的表现力,不但建立 在一个全功能的传统语言(C)之上,更提供极为广泛的对象导向(OBJECT-oriented)性质, 以及对templates 和exceptions(异常状态)的支持。 Lostmouse编写的非常出名的C++学习资料,适用于有一定的C++编程经验的同学。

    标签: 程序 语言

    上传时间: 2014-11-27

    上传用户:qunquan