Whizlabs
Java: Inheritance, Exceptions and APIs
Whizlabs

Java: Inheritance, Exceptions and APIs

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
中级 等级

推荐体验

6 小时 完成
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
中级 等级

推荐体验

6 小时 完成
灵活的计划
自行安排学习进度

您将学到什么

  • Apply object-oriented programming concepts by implementing inheritance, polymorphism, and interfaces to design modular and reusable Java classes.

  • Differentiating between checked, unchecked, and Error types, and using exception handling to maintain normal program flow.

  • Develop Java data structures and API to efficiently manage data in Java applications.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

November 2025

作业

6 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

积累特定领域的专业知识

本课程是 Exam Prep: Oracle Certified Associate, Java SE 8 [1Z0-808] 专项课程 专项课程的一部分
在注册此课程时,您还会同时注册此专项课程。
  • 向行业专家学习新概念
  • 获得对主题或工具的基础理解
  • 通过实践项目培养工作相关技能
  • 获得可共享的职业证书

该课程共有3个模块

Welcome to Week 1. This week, we’ll begin by examining the concept of inheritance, understanding how subclasses extend parent classes, and identifying the key benefits of this mechanism for building maintainable code structures. You’ll then learn how polymorphism allows objects to take multiple forms at runtime, enabling dynamic method binding and more adaptable program design. Next, we’ll discuss type casting, when it’s necessary, how to perform it safely, and what errors to avoid when working with parent and child class references. You’ll also practice using the super and this keywords to access constructors, methods, and fields effectively within class hierarchies. By the end of this module, you’ll have a strong grasp of how inheritance and polymorphism enable clean, scalable, and extensible object-oriented design in Java.

涵盖的内容

5个视频2篇阅读材料2个作业

Welcome to Week 2. This week, we’ll begin by distinguishing between checked exceptions, unchecked exceptions, and errors, and discuss how each type affects program flow. Next, you’ll learn how to implement try-catch blocks to handle exceptions gracefully and maintain smooth application execution. We’ll cover the advantages of using exception handling for building robust and fault-tolerant applications, followed by a hands-on session where you’ll create and invoke methods that throw exceptions. Finally, you’ll get familiar with common exception classes such as NullPointerException, IOException, and ArithmeticException, and understand when and how to use them effectively. By the end of this module, you’ll be able to identify, handle, and recover from runtime anomalies in Java programs, ensuring your applications remain stable and resilient under unexpected conditions.

涵盖的内容

5个视频1篇阅读材料2个作业

Welcome to this module. This week, you’ll explore how to work effectively with Strings, the StringBuilder class, and calendar data in Java. You’ll start by learning how to create and manipulate both immutable String objects and mutable StringBuilder instances to optimize performance when handling text. Next, you’ll work with calendar data to perform date and time operations essential for real-world applications. You’ll also dive into Java Collections by declaring and using ArrayList to store and manage dynamic data sets. Finally, you’ll get introduced to Lambda expressions, a key feature of Java SE 8, by writing simple functional constructs using Predicate interfaces. By the end of this module, you’ll be comfortable manipulating text, dates, and collections, and writing concise, functional-style Java code.

涵盖的内容

6个视频3篇阅读材料2个作业1个讨论话题

获得职业证书

将此证书添加到您的 LinkedIn 个人资料、简历或履历中。在社交媒体和绩效考核中分享。

位教师

Whizlabs Instructor
Whizlabs
138 门课程95,945 名学生

提供方

Whizlabs

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题