MCPcopy Create free account
hub / github.com/Anchals24/Low-Level-Design / Book

Method Book

IteratorDesignPattern/Book.java:7–11  ·  view source on GitHub ↗
(int price, String bookName)

Source from the content-addressed store, hash-verified

5 private String bookName;
6
7 Book(int price, String bookName){
8 this.price = price;
9 this.bookName = bookName;
10
11 }
12
13 public int getPrice(){
14 return price;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected