Home
Site Map
Useful Tools
Graphing Calc

Scientific Calculator

The Printable Interface

We are going to implement the printable interface (which we will define, in the Account and Student classes that we wrote in the past.
Printable Interface

Interface : Printable

Modifying Student
  • Your class declaration header should now be :
public class Student implements Printable{ ...
Now, your student class will not compile until you have implemented each method declared in Printable

Modifying Account
  • Your class declaration header should now be :
public abstract class Account implements Printable{ ...
Your student class will not compile until you have implemented each method declared in Printable
Download the runner for Printables
When you are done, use the runner below to test out your use of the Printable Interface.
Sitemap