Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Icecream{
- private int price;
- private String flavour;
- public Icecream(int cost, String type){
- price = cost; flavour = type;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement