+ 1

I want to do this association but i have error in my system.out.println. thanks you.

Système.out.println https://code.sololearn.com/cY8S6loQ9w57/?ref=app

10th Aug 2020, 12:33 PM
Malick Diagne
Malick Diagne - avatar
2 Answers
+ 1
Also Add a default construtor in Books class as Books() {} And correct way of this statement : System.out.println(location1.name + location2.namebook); location3.Way(); Or make Way function to return something...
10th Aug 2020, 1:01 PM
Jayakrishna 🇮🇳