Take a Free introductory instructor-led Live class at : http://www.edureka.co/android-develop...
This android tutorial talks about Java Methods and Classes in detail:
*What are Java Methods?
*What are Java Classes?
*How they are used?
*Example on Java Methods and Classes.
Classes :
--------------
In simple word we can say that class is a pattern which we define and every object of that class will follow that pattern.
A class definition can contain:
*variables (fields)
*initialization code
*methods
Methods :
---------------
A method is a named sequence of code that can be invoked by other Java code.
A method takes some parameters, performs some computations and then optionally returns a value (or object).
Methods can be used as part of an expression statement.
Ex:
public float celsius( float temp) {
return(((temp * 9.0f) / 5.0f) + 32.0f );
}
------------------------------------------------------------------
Please write back to us at support@edureka.in or call us at +91-8880862004 for more information.
http://www.edureka.co
Use the link to watch all videos of this session :
• Android Tutorial - Java Essentials fo...
On this page of the site you can watch the video online Android Tutorial Java-Methods and Classes(Java-10) | Edureka with a duration of hours minute second in good quality, which was uploaded by the user edureka! 22 October 2012, share the link with friends and acquaintances, this video has already been watched 2,773 times on youtube and it was liked by 4 viewers. Enjoy your viewing!