Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Scala
1.7k+ articles
Scala-Method
1.2k+ articles
scala-collection
350+ articles
Scala-Data Type
90+ articles
Scala-byte
70 articles
Scala-Map
55 articles
Scala-Set
44 articles
Scala-Strings
41 articles
Scala mutable-sortedset
41 articles
Scala-list
39 articles
Scala
1.2k+ posts
Popular Articles
Recent Articles
Scala Programming Language
Last Updated: 06 May 2025
Scala is a general-purpose, high-level, multi-paradigm programming language. It is a pure object-oriented programming language which also pr
...read more
Scala
Scala
Scala String substring() method with example
Last Updated: 23 October 2019
The substring() method is utilized to find the sub-string from the stated String which starts from the index specified.Method Definition: St
...read more
Scala
Scala-Method
Scala-Strings
Scala
Scala String replace() method with example
Last Updated: 03 October 2019
The replace() method is used to replace the old character of the string with the new one which is stated in the argument.Method Definition:
...read more
Scala
Scala-Method
Scala-Strings
Scala
Similar Topics
Scala
1.7k+ articles
Scala-Method
1.2k+ articles
scala-collection
350+ articles
Scala-Data Type
90+ articles
Scala-byte
70+ articles
Scala-Map
55+ articles
Scala-Set
44+ articles
Scala-Strings
41+ articles
Scala mutable-sortedset
41+ articles
Scala-list
39+ articles
Scala List mkString() method with a separator with example
Last Updated: 13 August 2019
The mkString() method is utilized to display all the elements of the list in a string along with a separator.Method Definition: def mkString
...read more
Scala
Scala-Method
Scala
Scala-list
Scala List contains() method with example
Last Updated: 26 July 2019
The contains() method is utilized to check whether a certain element is present in the list or not.Method Definition: def contains(elem: Any
...read more
Scala
Scala-Method
Scala
Scala-list
Scala List filter() method with example
Last Updated: 26 July 2019
The filter() method is utilized to select all elements of the list which satisfies a stated predicate.Method Definition: def filter(p: (A) =
...read more
Scala
Scala-Method
Scala
Scala-list
Scala | flatMap Method
Last Updated: 29 April 2019
In Scala, flatMap() method is identical to the map() method, but the only difference is that in flatMap the inner grouping of an item is rem
...read more
Scala
Scala-Method
Scala
How to get the first element of List in Scala
Last Updated: 19 November 2021
In Scala, list is defined under scala.collection.immutable package. A list is a collection of same type elements which contains immutable da
...read more
Scala
Scala
Scala Lists
Last Updated: 14 March 2019
A list is a collection which contains immutable data. List represents linked list in Scala. The Scala List class holds a sequenced, linear l
...read more
Picked
Scala
Scala
Enumeration in Scala
Last Updated: 01 November 2023
An enumerations serve the purpose of representing a group of named constants in a programming language. Refer Enumeration (or enum) in C and
...read more
Programming Language
Picked
Scala
Scala-Basics
Scala
Scala Constructors
Last Updated: 11 August 2021
Constructors are used to initializing the object’s state. Like methods, a constructor also contains a collection of statements(i.e. instru
...read more
Scala
Scala-Constructor
Scala
For Loop in Scala
Last Updated: 20 July 2021
In Scala, for loop is also known as for-comprehensions. A for loop is a repetition control structure which allows us to write a loop that is
...read more
Scala
Scala-Decision-Making
Scala
Class and Object in Scala
Last Updated: 19 August 2021
Classes and Objects are basic concepts of Object Oriented Programming which revolve around the real-life entities.ClassA class is a user-def
...read more
Scala
Scala-OOPS
Scala
Operators in Scala
Last Updated: 31 August 2021
An operator is a symbol that represents an operation to be performed with one or more operand. Operators are the foundation of any programmi
...read more
Scala
Scala-Basics
Scala
Break statement in Scala
Last Updated: 29 December 2022
In Scala, we use a break statement to break the execution of the loop in the program. Scala programming language does not contain any concep
...read more
Scala
Scala-Basics
Scala-Decision-Making
Scala
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !