University of Pennsylvania
Introduction to Java and Object-Oriented Programming
University of Pennsylvania

Introduction to Java and Object-Oriented Programming

Brandon Krakowsky

Instructor: Brandon Krakowsky

Sponsored by EmployNV

36,571 already enrolled

Gain insight into a topic and learn the fundamentals.
4.4

(309 reviews)

Beginner level

Recommended experience

Flexible schedule
Approx. 19 hours
Learn at your own pace
93%
Most learners liked this course
Gain insight into a topic and learn the fundamentals.
4.4

(309 reviews)

Beginner level

Recommended experience

Flexible schedule
Approx. 19 hours
Learn at your own pace
93%
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

See how employees at top companies are mastering in-demand skills

Placeholder

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
Placeholder
Placeholder

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

There are 3 modules in this course

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

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

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

Instructor

Instructor ratings
4.5 (94 ratings)
Brandon Krakowsky
University of Pennsylvania
7 Courses137,297 learners

Offered by

Why people choose Coursera for their career

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."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
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."
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

Showing 3 of 309

4.4

309 reviews

  • 5 stars

    66.34%

  • 4 stars

    20.38%

  • 3 stars

    4.85%

  • 2 stars

    1.94%

  • 1 star

    6.47%

DA
5

Reviewed on Apr 5, 2021

DD
5

Reviewed on Oct 24, 2021

TD
5

Reviewed on May 28, 2022

Recommended if you're interested in Computer Science

Placeholder

Open new doors with Coursera Plus

Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy