[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/CSapprenticeWT/OnJava8-Examples/master/hiding/Dinner.java [Back]  [Original]

// hiding/Dinner.java
// (c)2021 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Uses the library
import hiding.dessert.*;

public class Dinner {
  public static void main(String[] args) {
    Cookie x = new Cookie();
    //- x.bite(); // Can't access
  }
}
/* Output:
Cookie constructor
*/

Web Proxy Viewer  |  New URL  |  Original Page