0

Whether it will work or nt

void display() { collections.sort(animals); system.out.println(animals); } and then display fun is called in main class with the help its object mc.display() IT WILL WORK OR NT

8th Feb 2017, 11:07 AM
Annapoorani.H
Annapoorani.H - avatar
1 Odpowiedź
0
be specific about that animals is class datamember ? because Where are you declare the "animals "?
8th Feb 2017, 11:31 AM
Shreyance Gupta
Shreyance Gupta - avatar