Question: I have an error under public and I can not figure it out Build File 0. Edit View 8. Project 2 Debug Test Analyze Debug

 I have an error under public and I can not figure

I have an error under public and I can not figure it out

Build File 0. Edit View 8. Project 2 Debug Test Analyze Debug x86 Tools Extensions Window Help Local Windows Debugger Search @ Invitation link copied to clipboard! Send it to anyone you trust or click "More info" to learn about secure sharing. More info - X assingment2.cpp Assignment 2 Book Server Explorer Toolbox book_name = "Data Stucture"; publishedyear = 1900; author = "Clifford Shaffer"; int pages; public void getbook_name() throws IOException System.out.println("Enter book name"); book_name = br.readLine(); E public void get pages() throws IOException System.out.println("Enter pages "); isbn = Integer.parseInt(br.readLine()); public void getauthor() throws IOException { System.out.println("Enter author name"); author = br.readLine(); public void get publishedyear() throws IOException { System.out.println("Enter published year) AO 6 100% - 2 Build IntelliSense Error List Entire Solution Code E0065 50169 C2059 C2628 38 Errors A Warnings O Messages Description expected a expected a declaration syntax error: 'public "Book followed by void is illegal (did you forget a?) Project Assignment Assignment Assignment Assignment Error List Output Ready O Type here to search

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 Databases Questions!