ap协议java_AP计算机科学A:Java编程类和对象
你將學到什么
classes
objects and object-oriented design
fields and visibility
constructors, mutators and accessor methods
encapsulation
interfaces
the List interface
method overriding
課程概況
In this computer science course, you will learn the basics of programming in the Java language, and cover topics relevant to the AP Computer Science A course and exam.
This course will cover:
classes
objects and object-oriented design
fields and visibility
constructors, mutators and accessor methods
encapsulation
interfaces
the List interface
method overriding
This course is for anyone interested in taking a first-level computer-programming course, particularly those who attend a school that does not provide a similar class.
No previous programming knowledge is needed, but it is recommended that learners be comfortable with the topics addressed in AP Computer Science A: Java Programming and AP Computer Science A: Java Programming Data Structures and Loops.
We are looking forward to helping you explore this exciting new world!
課程大綱
Unit Name or Timeframe: Methods and Classes (3 weeks)
Object-oriented design and encapsulation
Top-down development and functional decomposition
State and behavior
Fields and visibility
Methods and parameters
Calling methods and passing parameters by-value and by-reference
Constructors and instantiation
The static keyword
Scope
Method overloading
Encapsulation
Accessors and mutators
Immutable objects
Unit Name or Timeframe: Interfaces (1 week)
Interfaces and abstraction
Interface implementation
Reference types
List interface and iterators
Comparable interface
Unit Name or Timeframe: Inheritance (2 weeks)
Inheritance and the Object class
Public and private data and methods
The super, this and null references
Encapsulation and information hiding
Inheritance using extends, recognizing single-inheritance
Equality vs identity
has-a vs is-a relationships involving inheritance and aggregation
Method overriding
The instanceof operator
預備知識
Some basic algebra skills needed. Students should have taken:CS180.1x - AP Computer Science A: Java Programming
CS180.2x - AP Computer Science A: Java Programming?Data Structures and Loops
總結
以上是生活随笔為你收集整理的ap协议java_AP计算机科学A:Java编程类和对象的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 雷军:汽车研发团队已超2300人 争取1
- 下一篇: java美元兑换,(Java实现) 美元