Groovy Beginner Tutorial 15 | Methods

3 Comments



ONLINE COURSES https://automationstepbystep.com/online-courses/

Methods

What is a method
– named block of code
– makes code modular and reusable
– can take parameters
– can have a return type

How to create methods
Method parameters
Return type
Instance methods

SUBSCRIBE & Click Bell to Join Automation Step-by-Step family

JOIN me on this educational journey as a member and get exclusive perks – Click the JOIN button
https://www.youtube.com/channel/UCTt7pyY-o0eltq14glaG5dg/join

———— UI TESTING ————
Selenium Beginners – https://bit.ly/2MGRS8K
Selenium Java Framework from Scratch – https://bit.ly/2N9xvR6
Selenium Python – https://bit.ly/2oyMp5x
Selenium Tips – https://bit.ly/2owxc50
Selenium Builder – https://bit.ly/2MKNtlq
Katalon Studio – https://bit.ly/2wARFdi
Robot Framework with RIDE- https://bit.ly/2Px6Ue9
Robot Framework with Eclipse – http://bit.ly/2N8DZxb

———— API TESTING ————
Web Services (API) – https://bit.ly/2MGafL7
SoapUI – https://bit.ly/2MGahmd
Postman – https://bit.ly/2wz8LrW
General – https://bit.ly/2PYdwmV
Katalon Studio API Testing – https://bit.ly/2BwuCTN

———— MOBILE TESTING ————
Mobile Playlist – https://bit.ly/2PxpeUv

———— CI | CD | DEVOPS ————
Jenkins Beginner – https://bit.ly/2MIn8EC
Jenkins Tips & Trick – https://bit.ly/2LRt6xC
Docker – https://bit.ly/2MInnzx

———— VERSION CONTROL SYSTEM ————
Git & GitHub – https://bit.ly/2Q1pagY

———— PERFORMANCE TESTING ————
JMeter Beginner – https://bit.ly/2oBbtIU
JMeter Intermediate – https://bit.ly/2oziNVB
JMeter Advanced – https://bit.ly/2Q22Y6a
JMeter Tips & Tricks – https://bit.ly/2NOfWD2
Performance Testing – https://bit.ly/2wEXbLS

———— JAVA ————
Java Beginners – https://bit.ly/2PVUcXs
Java Tips & Tricks – https://bit.ly/2CdcDnJ

———— MAVEN ————
Maven – https://bit.ly/2NJdDRS

———— OTHERS ————
Redis- https://bit.ly/2N9jyCG
Misc – https://bit.ly/2Q2q5xQ
Tools & Tips – https://bit.ly/2oBfwoR
QnA Friday- https://bit.ly/2NgwGpw
Sunday Special – https://bit.ly/2wB23BO

Ask Raghav – https://bit.ly/2CoJGWf
Interviews – https://bit.ly/2NIPPxk
All Playlists – https://bit.ly/2LSiezA

Keep Learning,
Raghav

Website – https://automationstepbystep.com/
LifeCharger – http://lifecharger.org/
Udemy Courses – https://www.udemy.com/user/raghav-pal-3/
Facebook – https://www.facebook.com/automationstepbystep
Twitter – https://twitter.com/automationsbs
Youtube – http://youtube.com/automationstepbystep

You can support my mission for education by sharing this knowledge and helping as many people as you can.

source

3 Comments
    • blank
      Rajesh Newtemp
      May 16, 2022 21:14 pm Reply

      While calling sum() method with out parameters… Why it's won't give compile time error… Like no such method

    • blank
      Noman Khan
      May 16, 2022 21:14 pm Reply

      Is there any code to clear the log Output while running the code.

    • blank
      Mahesh Joshi
      May 16, 2022 21:14 pm Reply

      Watching and following great Raghav !

Leave us a comment