You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
343 B
18 lines
343 B
package com.company.OnlineShop;
|
|
|
|
import java.net.http.WebSocket;
|
|
|
|
public class Article {
|
|
private int articleNumber;
|
|
private double price;
|
|
|
|
public Article(int articleNumber, double price){
|
|
this.articleNumber = articleNumber;
|
|
this.price= price;
|
|
}
|
|
|
|
public double getPrice(){
|
|
return this.price;
|
|
}
|
|
}
|