This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Priyanka tell me what is the differene b/w function and method. Then may be I can explain it to you.
You won't be able to answer in Java's context as there is no function in here as Campbell Ritchie told.
From another language context both are same.