• Like
เมธอด
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Published

 

Published in Education , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
47
On SlideShare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Methods ∞ ∞ ∞ ∞ ∞ ∞ Math Local Overloading Method)
  • 2. Class public Method Class main Method Class Class
  • 3. Modifier Return_Type Method Name (parameter_list) { return ( Method modifiers public static Return_ Type void MethodName return parameter
  • 4. Static Method Instance Method Constructor Method Overloading Method Overriding Method -
  • 5. Method (Call Method) body main() method main() method syntax method method method
  • 6. Math method Method Method Math class method Class (Class Method)” method Math Class
  • 7. argument) parameter) parameter_list PrintCharLine PrintLine c char len len int c
  • 8. PrintCharLine Main o' c PrintCharLine len o PrintCharLine x
  • 9. method method parameter return method return Output:
  • 10. Local local variable)
  • 11. Overloading Method) Method Method Method method parameter Method static double Numb(double a, double b) static int Numb(int a, int b) Output: parameter Method Parameter