Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Programming
→
ASP Dot net Interview Questions in Programming
→
What is the difference between Function and Method...
1.
What is the difference between Function and Method in Scala?
Answer»
S.no
functions
methods
1.
Defined in Package
Defined in a class
2.
Can be
ACCESSED
WITHOUT
objects
Cannot be
USED
without an
OBJECT
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What is Scala and why it is used?
What is the diamond problem in scala?
What do you mean by Foldleft in Scala?
Explain Operator and explain types of Operators in Scala?
Explain data types in Scala?
What is currying in Scala?
What is Scala closure?
What are higher-order functions in Scala?
What is lambda expression in Scala?
Explain different types of identifiers in Scala?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies