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
GfG 160: Daily DSA
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Sign In
▲
Similar Topics
Scala-Method
1.2k+ articles
Scala
1.2k+ articles
scala-collection
350+ articles
Scala-Data Type
90+ articles
Scala-byte
70 articles
Scala-Map
55 articles
Scala Mutable-collections
46 articles
Scala-Set
44 articles
Scala immutable-TreeSet
43 articles
Scala-Strings
41 articles
Programming Language
>
Scala
Scala
1.7k+ posts
Popular Articles
Recent Articles
Role of SemiColon in various Programming Languages
Last Updated: 21 July 2024
Semicolon is a punctuation mark (;) indicating a pause, typically between two main clauses, that is more pronounced than that indicated by a
...read more
Java
Algorithms
Python
Programming Language
SQL
C Language
C++
JavaScript
C#
Perl
Scala
Go Language
Write From Home
DSA
Scala Sequence
Last Updated: 01 November 2023
Sequence is an iterable collection of class Iterable. It is used to represent indexed sequences that are having a defined order of element i
...read more
Scala
Scala
scala-collection
Scala List map() method with example
Last Updated: 13 August 2019
The map() method is utilized to apply the stated function to all the elements of the list.Method Definition: def map[B](f: (A) = B): List[B
...read more
Scala
Scala-Method
Scala
Scala-list
Similar Topics
Scala-Method
1.2k+ articles
Scala
1.2k+ articles
scala-collection
350+ articles
Scala-Data Type
90+ articles
Scala-byte
70+ articles
Scala-Map
55+ articles
Scala Mutable-collections
46+ articles
Scala-Set
44+ articles
Scala immutable-TreeSet
43+ articles
Scala-Strings
41+ articles
Scala List length() method with example
Last Updated: 13 August 2019
The length() method is utilized to find the length of the list.Method Definition: def length: IntReturn Type: It returns the length of the l
...read more
Scala
Scala-Method
Scala
Scala-list
Scala List sum() method with example
Last Updated: 26 July 2019
The sum() method is utilized to add all the elements of the stated list.Method Definition: def sum(num: math.Numeric[B]): BReturn Type: It r
...read more
Scala
Scala-Method
Scala
Scala-list
Scala ListBuffer
Last Updated: 09 April 2023
A list is a collection which contains immutable data. List represents linked list in Scala. A List is immutable, if we need to create a list
...read more
Python
Scala
scala-collection
Scala | Try-Catch Exceptions
Last Updated: 12 April 2019
The Try-Catch construct is different in Scala than in Java, Try-Catch in Scala is an expression. the Scala make use of pattern matching in t
...read more
Picked
Scala
Scala
scala-exception
Scala | Option
Last Updated: 01 April 2019
The Option in Scala is referred to a carrier of single or no element for a stated type. When a method returns a value which can even be null
...read more
Picked
Scala
Scala
scala-collection
Scala | Case Class and Case Object
Last Updated: 28 February 2019
Explanation of Case ClassA Case Class is just like a regular class, which has a feature for modeling unchangeable data. It is also construct
...read more
Picked
Scala
Scala-OOPS
Scala
Anonymous Functions in Scala
Last Updated: 28 April 2024
In Scala, An anonymous function is also known as a function literal. A function which does not contain a name is known as an anonymous funct
...read more
Scala
Scala-Method
Scala
Scala | Traits
Last Updated: 17 April 2024
Introduction to Traits in Scala:In Scala, Traits are a fundamental concept of object-oriented programming that provides a mechanism to reuse
...read more
Scala
Scala-Basics
Scala-OOPS
Scala
Comments In Scala
Last Updated: 25 January 2022
Comments are entities, in our code, that the interpreter/compiler ignores. We generally use them to explain the code, and also to hide code
...read more
Scala
Scala-Basics
Scala
Scala Singleton and Companion Objects
Last Updated: 15 April 2021
Singleton ObjectScala is more object oriented language than Java so, Scala does not contain any concept of static keyword. Instead of static
...read more
Scala
Scala-OOPS
Scala
Inheritance in Scala
Last Updated: 12 January 2022
Inheritance is an important pillar of OOP(Object Oriented Programming). It is the mechanism in Scala by which one class is allowed to inheri
...read more
Scala
Scala-OOPS
Scala-Inheritance
Scala
Introduction to Scala
Last Updated: 24 September 2021
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
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
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 !