daily pastebin goal
36%
SHARE
TWEET

Untitled

a guest Feb 21st, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Feature {
  2.  
  3.    String name;
  4.  
  5.    String value;
  6.  
  7. }
  8.      
  9. public class InternalFeature extends Feature{
  10.  
  11.     Integer priority;
  12.  
  13. }
  14.      
  15. InternalFeature internalFeature = new InternalFeature();
  16.  
  17. internalFeature.setName("length");
  18. internalFeature.setValue("56 Unit");
  19. internalFeature.setPriority(1);
  20.  
  21. Feature feature = internalFeature;
  22.      
  23. InternalFeature(priority=1)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top