VOOZH about

URL: https://www.coursera.org/learn/java-object-oriented-programming

⇱ Introduction to Java and Object-Oriented Programming | Coursera


Introduction to Java and Object-Oriented Programming

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Introduction to Java and Object-Oriented Programming

43,066 already enrolled

Included with

Ask Coursera

Gain insight into a topic and learn the fundamentals.
4.5

333 reviews

Beginner level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
92%
Most learners liked this course

Gain insight into a topic and learn the fundamentals.
4.5

333 reviews

Beginner level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
92%
Most learners liked this course

What you'll learn

  • Identify core aspects of object-oriented programming and features of the Java language.

  • Use Eclipse for writing and running Java code.

  • Develop programs that use Java collections and apply core object-oriented programming concepts using classes, polymorphism, and method overloading.

  • Test code by applying principles of test-driven development using Java's unit testing framework.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

7 assignments

Taught in English

Build your subject-matter expertise

This course is part of the Introduction to Programming with Python and Java Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 3 modules in this course

This course provides an introduction to the Java language and object-oriented programming, including an overview of Java syntax and how it differs from a language like Python. Students will learn how to write custom Java classes and methods, and how to test their code using unit testing and test-driven development. Topics include basic data structures like Arrays and ArrayLists and overloading methods.

Welcome to Java! This first module provides an introduction to the Java language and object-oriented programming. It includes an overview of Java syntax, in particular, how it differs from a language like Python. Topics will include variables and data types, loops and conditionals, printing to the console, scanning for user input, and code documentation. This module also explains the structure and inner-workings of a Java class and teaches you how to define your own custom classes and methods.

What's included

38 videos10 readings3 assignments2 app items

38 videosTotal 95 minutes
  • What to expect from this Course2 minutes
  • About the Instructor : Brandon Krakowsky 1 minute
  • How to submit assignments in Codio6 minutes
  • Module 1 Introduction 1 minute
  • Java vs. Python1 minute
  • Java is compiled1 minute
  • Popularity of Java vs. Python1 minute
  • Installing & running Java1 minute
  • Downloading & installing the Java Development Kit (JDK)0 minutes
  • Installing & configuring Eclipse1 minute
  • Eclipse overview1 minute
  • Simple introductory program1 minute
  • Some general rules for Java1 minute
  • Variables & data types2 minutes
  • Declaring variables1 minute
  • Strings vs. chars1 minute
  • Printing0 minutes
  • 'while' loops0 minutes
  • 'for' loops1 minute
  • Getting input1 minute
  • Java comments & Javadocs1 minute
  • Coding Demonstration : Creating my first java project1 minute
  • Coding Demonstration : Creating my first class & using the main method2 minutes
  • Coding Demonstration : Defining variables2 minutes
  • Coding Demonstration : Strings and characters2 minutes
  • Coding Demonstration : Math operations3 minutes
  • Coding Demonstration : String operations2 minutes
  • Coding Demonstration : Conditionals and loops8 minutes
  • Coding Demonstration : Casting7 minutes
  • Coding Demonstration : User input6 minutes
  • Coding Demonstration : Adding Javadocs1 minute
  • Java is class based1 minute
  • Defining a class1 minute
  • Defining fields in a class1 minute
  • Defining a constructor for a class1 minute
  • Defining a method in a class1 minute
  • Creating an instance of a class1 minute
  • Coding Demonstration : Banking project33 minutes
10 readingsTotal 57 minutes
  • Course Layout & Syllabus10 minutes
  • Tips to succeed in this course10 minutes
  • Navigating Assignments using Codio10 minutes
  • Module 1 Resources (DOWNLOAD RELEVANT CODE AND/OR DATA FILES FOR THIS MODULE HERE)5 minutes
  • Installing & configuring Eclipse overview7 minutes
  • Math operators3 minutes
  • Casting3 minutes
  • 'char' operations3 minutes
  • Importing a Java Program into Eclipse5 minutes
  • Opt-in to Penn Engineering Online Communications1 minute
3 assignmentsTotal 64 minutes
  • Quiz 01 - Intro to Java & The Java Language20 minutes
  • Quiz 02 - Classes14 minutes
  • Learning Style Preference Survey30 minutes
2 app itemsTotal 300 minutes
  • Practice Coding Assignment 1a: Hello World!120 minutes
  • Homework 1 : Simple Game180 minutes

In this module, you will be taught to test your code to get it working. The best way to do this is to write a set of unit tests that you can run against your program, at any time. In this module, we'll learn how to do unit testing in Java, and why we want to do it. We’ll also learn all about Java Arrays, which are collections of items, and ArrayLists, which are kind of like arrays, but much more flexible. These work just like lists in Python. ArrayLists are part of Java’s larger Collections Framework, which we’ll continue to reference throughout this course.

What's included

23 videos5 readings2 assignments2 app items

23 videosTotal 94 minutes
  • Module Introduction1 minute
  • Why unit test?1 minute
  • Disadvantages & advantages1 minute
  • JUnit 0 minutes
  • Terminology1 minute
  • Assert methods1 minute
  • Coding Demonstration : Counter project15 minutes
  • Testing for equality1 minute
  • Implementing the equals method1 minute
  • Coding Demonstration : Comparing people9 minutes
  • Coding Demonstration : Banking project with unit testing 24 minutes
  • Declaring & initializing arrays 3 minutes
  • Initializing arrays in one line1 minute
  • The length of an array1 minute
  • Stepping through an array using a for loop or enhanced for loop1 minute
  • Nested arrays1 minute
  • Accessing values in nested arrays1 minute
  • About the Collections Framework1 minute
  • Creating an ArrayList1 minute
  • The size of an ArrayList1 minute
  • Printing primitives vs. Objects1 minute
  • Implementing the toString method3 minutes
  • Coding Demonstration : Classroom project27 minutes
5 readingsTotal 16 minutes
  • Module 2 Resources (DOWNLOAD RELEVANT CODE AND/OR DATA FILES FOR THIS MODULE HERE)5 minutes
  • More assert methods3 minutes
  • Even more assert methods2 minutes
  • Array methods3 minutes
  • ArrayList methods3 minutes
2 assignmentsTotal 22 minutes
  • Quiz 03 - Unit Testing 10 minutes
  • Quiz 04 - Arrays & ArrayLists12 minutes
2 app itemsTotal 240 minutes
  • Homework 2 : Custom String120 minutes
  • Homework 3 : Arrays & ArrayLists120 minutes

So far, we’ve been defining variables as instance variables in our Java classes. Instance variables are just variables defined inside a class, and every instance of a class can have a different value for an instance variable. In this module, we’ll look at defining static variables in our Java classes. Static variables are also defined as variables inside a class, but with the keyword 'static'. Static variables have the same value for every instance of a class. In fact, you don’t even need to create an instance of a class to use a static variable! We’ll also look at static methods. And just like static variables, you don’t need to create an instance of a class to use, or call, a static method. In this module, we’re also going to introduce polymorphism, which refers to overloading and overriding. We’ll focus on overloading, which is having two or more methods in the same class, with the same name.

What's included

21 videos2 readings2 assignments1 app item

21 videosTotal 88 minutes
  • Module 3 Introduction1 minute
  • Instance variables vs. static variables1 minute
  • Creating static variables1 minute
  • Referencing static variables1 minute
  • Using static variables for hard-coded values1 minute
  • About static methods1 minute
  • Static helper methods0 minutes
  • About Java’s main method0 minutes
  • When to use a static method1 minute
  • Other use cases for static1 minute
  • Other rules for static0 minutes
  • Coding Demonstration : Customer tracking project25 minutes
  • Method signatures1 minute
  • Polymorphism1 minute
  • Overloading1 minute
  • Why overload a method?1 minute
  • DRY (Don’t Repeat Yourself) principle of software development1 minute
  • Legal vs. illegal variable assignments and method calls2 minutes
  • Java uses the most specific method1 minute
  • Multiple constructors9 minutes
  • Coding Demonstration : Dog project39 minutes
2 readingsTotal 6 minutes
  • Module 3 Resources (DOWNLOAD RELEVANT CODE AND/OR DATA FILES FOR THIS MODULE HERE)5 minutes
  • Opt-in to Penn Engineering Online Communications1 minute
2 assignmentsTotal 20 minutes
  • Quiz 05 - Static Variables & Methods8 minutes
  • Quiz 06 - Polymorphism - Overloading12 minutes
1 app itemTotal 180 minutes
  • Homework 4 : Custom Integer ArrayList180 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Instructor ratings
4.5 (104 ratings)
University of Pennsylvania
10 Courses179,276 learners

Explore more from Software Development

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

  • 5 stars

    67.86%

  • 4 stars

    21.02%

  • 3 stars

    5.40%

  • 2 stars

    1.80%

  • 1 star

    3.90%

Showing 3 of 333

RG
·

Reviewed on Jun 26, 2023

The lecturer was excellent. his teaching style is very smart and understanable to everyone,and explanation part is also great. wish to learn from him again.

AL
·

Reviewed on Apr 4, 2021

Great course to learn object oriented programming in Java. It was nice that testing was included. Could probably go a little deeper into casting and collections.

D
·

Reviewed on Nov 2, 2022

Amazing course and really , really usefull for professional coding , thank you so much for providing me financial aid really loved the experience

Frequently asked questions

The only math that learners will need for this Specialization is arithmetic and basic concepts in logic.

If you enjoyed this course, we recommend Courses 1, 2 and 4 in the series!

If you would like to learn the fundamentals of computer science beyond the basics of programming, consider applying to the Master of Computer and Information and Technology (MCIT) at the University of Pennsylvania, an Ivy League computer science master’s program for people without a computer science background. For an on-campus experience, . If you prefer an online setting, apply to . In fact, the lectures in this series are also used in the online degree program! The Specialization certificate will be viewed favorably by the admissions committee, so be sure to mention it when you apply.

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,