- Level Foundation
- المدة 18 ساعات hours
- الطبع بواسطة LearnQuest
-
Offered by
عن
Introduction to OO Programming with Java is course 2 of the Core Java Specialization. After completing this course, you'll be able to create simple Java classes that exhibit the principle of Encapsulation, to import other classes for use, to work with Strings, print output and use advanced math functions. We'll begin with a brief refresher on necessary concepts from Object-Oriented Programming. Next, we'll introduce basic Java concepts regarding classes, enabling you to start writing simple Java classes with attributes and methods. We'll introduce the idea of instances, or objects created from classes, so that you can start to build object-oriented solutions. Finally, we'll cover namespaces and Java Libraries to explain how Java packages classes, so that everyone can develop code without name collisions. You will be able to organize and access classes, as well as use selected standard classes from the Java runtime environment. To be successful in this course, you should have taken Course 1: Introduction to Java or have equivalent knowledge.الوحدات
Overview
1
Videos
- Course Overview
An Introduction to Object-Oriented Programming
1
Assignment
- Practice Review
5
Videos
- Managing Complexity
- Code Re-use
- Managing Change
- Moving to OO from Procedural
- OO Definitions
1
Readings
- How many classes are defined in Java Standard Edition?
Defining a Class
2
Videos
- Defining a Class
- An Example Class
2
Readings
- The Bean Specification
- A Computed, Read-Only Property
Objects
1
Assignment
- Practice Review
2
Videos
- Objects
- Objects Example
1
Readings
- Formatting Output using PrintStream
Lab Preparation -- Only if you have not already experienced our Eclipse lab environment
1
Labs
- Experience the Lab Environment
1
Videos
- Experience the Lab Environment
1
Readings
- Importing Lab Starters and/or Solutions
Assessment
1
Assignment
- Assessment
1
Labs
- Implement the Car Class (Optional)
Packages and Classes
3
Videos
- Introduction to Packages
- Packages and the Classpath
- Declaring a Class
Attributes and Methods
1
Assignment
- Practice Review
5
Videos
- Class Anatomy
- Adding Attributes and Methods
- Method Parameters
- Method Variables
- Java Access Modifiers
Constructors
1
Labs
- Creating Classes
3
Videos
- Constructors
- Creating Classes Lab Summary
- Creating Classes Lab Full Walkthrough (Optional)
Static Members
1
Labs
- Creating Calculator Classes
4
Videos
- Static Attributes
- Static Methods Demo
- Creating Calculator Classes Lab Summary
- Creating Calculator Classes Lab Full Walkthrough (Optional)
Assessment
1
Assignment
- Assessment
Using Objects in Java
1
Assignment
- Assessment
1
Labs
- Creating Objects
4
Videos
- Creating an Object
- Working with Objects
- Creating Objects Lab Summary
- Creating Objects Lab Full Walkthrough (Optional)
2
Readings
- Constructor Methods under the Covers
- Representations in different JVMs
Packaging and Importing
1
Assignment
- Practice Review
4
Videos
- JAR Files and Namespaces (Packages)
- Packaging Classes
- Importing Packages
- Using Imported Classes
1
Readings
- I installed my own Java, and it is later than version 8. Where did rt.jar go?
Strings and Math
1
Discussions
- Static Imports
1
Labs
- Creating Calculator Objects
6
Videos
- The String Class
- Creating String Objects
- StringBuffer and StringBuilder
- The Math Class
- Creating Calculator Objects Lab Summary
- Creating Calculator Objects Lab Full Walkthrough (Optional)
2
Readings
- Strings, Buffers and Builders
- Java Math Support
Assessment
1
Assignment
- Assessment
Auto Summary
Discover the essentials of Object-Oriented Programming with Java in this foundational course by Coursera. Tailored for IT and Computer Science enthusiasts, it delves into encapsulation, class creation, and Java Libraries. Ideal for learners with basic Java knowledge, this 1080-minute course offers flexible Starter and Professional subscription options. Join now to enhance your Java programming skills under expert guidance.

Evan Bergman

Noel J. Bergman