Tutor profile: Benjamin J.
Subject: Java Programming
Why would you want to create a class that inherits from another class?
Inheritance in Java and other objected oriented style languages allows us to reuse functionality and code. For example, if we have a car class in our program but we also need a sports car class, many methods and properties of both classes would be the same. Inheritance makes our code smaller, organized, and more elegant.
Subject: C Programming
What is a pointer?
In computers, data is stored in memory. Each location in memory has an address. A pointer is variable that may contain the address or first location of some data.