你将学到什么

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编程类和对象相关推荐

  1. java 对象的定义是_浅析Java编程中类和对象的定义

    1,什么是类? 答:类是客观存在的,抽象的,概念的东西. 2,什么事对象? 答:对象是具体的,实际的,代表一个事物.例如:车是一个类,汽车,自行车就是他的对象. 关于类与对象的描述:类是对象的模版,对 ...

  2. java/03/类与对象,深入分析类与对象(权限修饰,构造方法和简单java类),数组的定义及使用

    java/03/类与对象,深入分析类与对象(权限修饰,构造方法和简单java类),数组的定义及使用 七十年代,IBM的Smalltalk语言最先推广面向对象,后来C语言变为C++,后来C++又产生了J ...

  3. Java编程思想之对象入门

    一.Java编程思想之对象入门 前言 1.面向对象程序设计 2.接口的由来----接收请求 3.public,private,protected的由来----实现方案的隐藏 4.成员对象的由来---- ...

  4. java演练 类与对象 给我一个数字还你一个字符串

    java演练 类与对象 给我一个数字还你一个字符串 视频 https://www.ixigua.com/i6870502014800003598/ 代码 类 public class Game {pu ...

  5. java学习--类与对象

    文章目录 java学习--类与对象 类的定义与对象的使用 类的私有成员的使用 java学习–类与对象 类的定义与对象的使用 类的定义与对象的使用 类的定义步骤: public 类名: //定义成员变量 ...

  6. 面向对象编程——类和对象

    面向对象编程 类和对象 类(Class):用来描述具有相同属性和方法的对象的集合 class Student:name='stu'#属性def say(self):#方法print("hel ...

  7. java面向对象-类和对象

    Java面向对象笔记 文章目录 Java面向对象笔记 java面向对象 类和对象 什么是类 定义 创建和使用 公式 构造方法 什么是构造方 怎么定义和使用构造方法 实列 This关键字 什么是成员变量 ...

  8. C、C++、C#、python、java编程—类的使用

    (一)C语言--没有类的概念 (二)C++ C++ 在 C 语言的基础上增加了面向对象编程,C++ 支持面向对象程序设计.类是 C++ 的核心特性,通常被称为用户定义的类型. 类用于指定对象的形式,它 ...

  9. JAVA300集——面向对象编程-类和对象-构造方法及其重载-方法调用

    本章概述 "如何开车":(由多个步骤组成),简单问题,可以使用面向过程. "如何造车":(成千上万个零件,细节很多),复杂问题,宏观上用面向对象把握,微观操作用 ...

最新文章

  1. linux cp 强制覆盖_Linux基本操作教程
  2. 清华大学发布首个自动图机器学习工具包 AutoGL,开源易用可扩展,支持自定义模型...
  3. python给太阳花添加茎叶_python_bloom--循环语句练习
  4. java提高篇之数组(2)
  5. tablestore换mysql_mysql数据迁移到tablestore
  6. idea 项目编译不成功-循环依赖的问题
  7. Android JNI开发流程介绍
  8. iOS10权限设置问题以及xcdoe8更新细节问题
  9. 蓝桥杯 ADV-202 算法提高 最长公共子序列
  10. 中兴连专利也不申请了?
  11. perl脚本 linux,linux – 通过Perl脚本设置环境变量
  12. 深入浅出理解 Java回调机制(异步)
  13. 软考和华为证书的含金量,哪个更适合找工作
  14. 微型计算机原理中的mov,微机原理(判断题)(指令正误)
  15. 前端低代码工具amis使用文档
  16. 这 5 款软件,让你的电脑变得更高效!
  17. PHP编写modbus,php – CRC-CCITT转CRC16 Modbus实现
  18. 返利机器人分享话术_客户裂变-返利机器人回复语
  19. Android旗舰机与苹果,iPhone SE与最强Android旗舰机相比会如何
  20. 学生宿舍管理项目开发计划书_学生宿舍管理系统项目计划书.doc

热门文章

  1. Vulhub 靶场安装
  2. 信息收集——DNS域名系统
  3. 阿里云使用教程(试用一个月)
  4. 加大weblogic在Linux内存,在linux运行weblogic出现运行内存不足错误,求鞭挞....
  5. qt下设置按钮不接收键盘鼠标但能响应 clicked()信号
  6. Android开发之获取常用android设备参数信息
  7. Android开发之代码开发部分字符串变色
  8. Galaxy+note3+android+5.0,5.9寸+Android 5.0 Galaxy Note 4参数曝光
  9. iOS查看静态库命令
  10. 4月11日 GCD 总结(二)