Groovy Triple-single-quoted string Code Example

The code for Groovy Triple-single-quoted string

'''a triple-single-quoted string'''
'''Hello, world!'''
'''Welcome at Code Examples Section, IncludeHelp'''
Code by Shivang Yadav, on July 24, 2022
def startingAndEndingWithANewline = '''
line one
line two
line three
'''
Code by Shivang Yadav, on July 24, 2022
Reference: https://groovy-lang.org/

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.