[Solved] BookOrder class isn’t rendering results in Test
[ad_1] Because you are not initializing any thing in your constructor so it takes default value for all variable in you class. So you can change your constructor like : private String author; private String title; private int quantity; private double costPerBook; private String orderDate; private double weight; private char type; //R,O,F,U,N public BookOrder(String author, … Read more