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
// Java Coding Challenge - 06: Print out Fibonacci numbers 0 - 93
1(B)
Implementation of several common methods of LinkedList
Java
sq-buzz
Display Page
Reverse Prime
1(D)
Given two sorted arrays, merge them such that the elements are not repeated
쓰레드 critical section