Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
bookstore
package bookstore; public class Bookstore { public static void main(String[] args) { } } class Shopping{ private String bookName; private int bookId; private String customerName; private int customerId; private int totalPurchasedBooks; Shopping(){ ++totalPurchasedBooks; } Shopping(String bookn,int bookid, String customern,int customerid){ bookName= bookn; bookId=bookid; customerName=customern; customerId=customerid; ++totalPurchasedBooks; } public String getBookName (){ return bookName; } public int getBookId (){ return bookId; } public String getCustomerName (){ return customerName; } public int getCustomerId (){ return customerId; } }
run
|
edit
|
history
|
help
0
Multiplying Two Base-36 Numbers
test1
Thread counter
Words with same letters
NumberBasedAlphabetsPrint
Firstproject
Round Price
This code is not what it seems...
MinMaxArray
2