stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Groovy Basics - Fundamentals (Not coding) Flashcards | StudBud
Explore
/
Groovy Basics - Fundamentals (Not coding)
Groovy Basics - Fundamentals (Not coding)
13 terms
·
StudBud Administration
·
122 plays
Groovy Basics - Fundamentals (Not coding)
Flashcards
13 cards
F
Practice quiz
P
Host live
L
Questions
13
Answers
1
How to use multi-line comments in groovy?
/* multi line comments */
// multi line comment
-- multiline comment
?? multiline comment
2
Groovy extends the java.lang.Object class.
True
False
3
How to use single line comments in groovy
$ comment
//** comment */
# comment
// comment
4
Groovy is a case sensitive language like Java
False
True
5
This language is influenced by Groovy
Go
JavaScript
Kotlin
Ruby
6
Groovy is based on
Ruby
Java
JavaScript
Python
7
Java is required to install Groovy
True
False
8
What is the command to run a groovy file from the command line?
groovy localRun "locationOfFile"
groovy -run "locationOfFile"
groovy --run "locationOfFile"
groovy "locationOfFile"
9
Which of these is NOT a default import in Groovy?
java.math.BigInteger
java.io.*
java.util.*
groovy.json.*
10
Groovy is a high-level language
True
False
11
In static programming languages type checking happens at compile time
True
False
12
In dynamic programming languages type checking happens at runtime
True
False
13
Strings in Groovy can be enclosed in:
Double quotes
All of the above
Single quotes
Triple quotes