MCPcopy Create free account
hub / github.com/careercup/CtCI-6th-Edition / printMe

Method printMe

Java/Ch 13. Java/Introduction/Square.java:5–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3public class Square extends Shape {
4 private double len = 5;
5 public void printMe() {
6 System.out.println("I am a square.");
7 }
8
9 public double computeArea() {
10 return len * len;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected