Skip to content
KnowledgeCity

Java Programming: Inheritance and Polymorphism

Program inside Java
Preview the first lesson free — get full access to all 11 lessons.
Course: On-Demand
Intermediate Provider Cliff Brozo  11 Lessons ·  1h 23m  in Arabic, German, English, Spanish, French, Portuguese, Urdu, Chinese 

Course Description

Java Programming will start with ENUMS, which allows us to create a list of constants like Monday, Tuesday, Wednesday, etc. This module makes sense of Inheritance, where one class acquires the properties of another, and Polymorphism, in which many classes are related through inheritance. The course will discuss Abstraction (only showing necessary characteristics), Regular Expressions - characters that form a search pattern, Threads - multiple executions of modules by the JVM, and Overloading - allowing modules to have the same name but operate in different ways. We also talk about the scope of variables (and methods), the concept of recursion where methods call themselves, typecasting, which allows you to change the variable's data type, and Packages, which are groups of similar types of classes.

What You'll Learn

  • Utilize lists of constants using ENUMS in Java
  • Understand inheritance, where one class acquires the properties of another, and polymorphism
  • Apply abstraction to show only necessary characteristics and use packages to group similar classes
  • Describe how regular expressions form a search pattern
  • Identify how to change the data type of a variable through typecasting
  • Work with threads, overloading, variable scope, and recursion

Key Takeaways

  • ENUMS allow you to create a list of constants such as Monday, Tuesday, and Wednesday.
  • Inheritance is where one class acquires the properties of another, and polymorphism is where many classes are related through inheritance.
  • Abstraction shows only necessary characteristics, while regular expressions are characters that form a search pattern.
  • Overloading allows modules to have the same name but operate in different ways, and recursion is the concept where methods call themselves.
  • Typecasting allows you to change a variable's data type, and packages are groups of similar types of classes.

Frequently Asked Questions

What topics does this Java course cover?

The course covers ENUMS, inheritance, polymorphism, abstraction, regular expressions, threads, overloading, scope of variables and methods, recursion, typecasting, and packages.

What will I learn by the end of this course?

You will learn to utilize lists, understand inheritance, describe how regular expressions form a search pattern, and identify how to change the data type of a variable.

What is the difference between inheritance and polymorphism in this course?

Inheritance is where one class acquires the properties of another, while polymorphism is where many classes are related through inheritance.

What skills does this course help build?

This course relates to skills in Generics in Java, Java (programming language), Java Foundation Classes, Java Module, and Object-Oriented Programming (OOP).

What are threads in this course?

Threads are multiple executions of modules by the JVM.