java面向对象须知的一些基本概念
2013-03-27 00:00
621 查看
Real-world objects contain state and behavior.
A software object's state is stored in fields.
A software object's behavior is exposed through methods.
Hiding internal data from the outside world, and accessing it only through publicly exposed methods is known as data encapsulation.
A blueprint for a software object is called a class.
Common behavior can be defined in a superclass and inherited into a subclass using the extends keyword.
A collection of methods with no implementation is called an interface.
A namespace that organizes classes and interfaces by functionality is called a package.
The term API stands for Application Programming Interface.
A software object's state is stored in fields.
A software object's behavior is exposed through methods.
Hiding internal data from the outside world, and accessing it only through publicly exposed methods is known as data encapsulation.
A blueprint for a software object is called a class.
Common behavior can be defined in a superclass and inherited into a subclass using the extends keyword.
A collection of methods with no implementation is called an interface.
A namespace that organizes classes and interfaces by functionality is called a package.
The term API stands for Application Programming Interface.
相关文章推荐
- javaSE_8系列博客——Java语言的特性(一)--关于面向对象基本概念的理解(2)--对象
- 一:Java之面向对象基本概念
- 第1章 Java基本概念及环境配置——FAQ1.02 面向对象程序设计的基本特征有哪些?
- Java基础——对象和类1(面向对象基本概念)
- 黑马程序员——Java基础:面向对象一些概念的区分(二)
- javaSE_8系列博客——Java语言的特性(一)--关于面向对象基本概念的理解(1)
- 黑马程序员——Java语言基础——03.面向对象(1)思想和一些概念
- Java学习课堂笔记——面向对象程序设计的基本概念
- java学习之旅45--面向对象_18_多态_基本概念_强制转型问题_instanceof运算符
- Java基础知识:面向对象-基本概念
- Java学习笔记之 面向对象基本概念
- Java中一些基本概念详解:栈、堆、对象大小、引用、传值(转)
- 黑马程序员——Java基础:面向对象一些概念的区分(一)
- Java面向对象高级--接口的基本概念--------interface、implements
- 继承的基本概念(Java面向对象高级篇)
- 黑马程序员——Java基础:面向对象一些概念的区分(三)
- Java面向对象程序设计的基本概念
- Java与C++在面向对象基本概念上的区分
- Java面向对象高级--抽象类的基本概念------abstract
- Java面向对象高级--抽象类的基本概念------abstract