Android Build a Weather App Working with JSON Introducing JSONObject

why data type of getcurrentdetails is currentweather

can some one help in this?

bot .net
bot .net
10,072 Points

the data type u are returning is the data type. in java when u declare a method lets say:

public String getTitle() {
retrurn title;
}

in this example u returning a String, u always declare in the method the data type ur going to return.