Question: I need help solving this error GRASP CSD (Java) Is Window Help public Book (String author, String category, String name, double price) this.author=author; + ***

I need help solving this error

GRASP CSD (Java) Is Window Help public Book (String author, String category,

GRASP CSD (Java) Is Window Help public Book (String author, String category, String name, double price) this.author=author; + *** 12 13 14 234 15 { 16 17 18 19 20 } 21 22 23 24 * */ this.category=category; this.name=name; this.price-price;|| /* then we have to create an accessor method for each of the instance variables created above to retun whatever * has been inputted by the user 25 26 27 { public String getAuthor() CSD Shoe.java GWordCount.java G CSD BookMain.java GTextBook.java Compile Messages jGRASP Messages Run I/O Interactions Stop Clear Copy 2 errors --jGRASP wedge2: exit code for process is 1. ----jGRASP: operation complete. ----jGRASP exec: javac -g TextBook.java TextBook.java:14: error: invalid method declaration; return type required public Book(String author,String category, String name,double price) 1 error --jGRASP wedge2: exit code for process is 1. ---jGRASP: operation complete. } Line:19 Col:26 Code:0 Top:12 OVS BLK 6:54 AM X

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!