But why not other methods like getFuel(), getPerL(), getNameOfAirp()??
Is there any rule for automatically activating only toString() method??
Type: Posts; User: swkang7229
But why not other methods like getFuel(), getPerL(), getNameOfAirp()??
Is there any rule for automatically activating only toString() method??
Hi~ I am new here :)
I was just following a tutorial from a book
and I found something that I can't understand
Here's my source code:
public class Airplane2 {
private String nameOfAirp =...