Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.0K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.1K+ articles
Scala
1.8K+ articles
Scala-Method
1.3K+ articles
Scala
1.2K+ articles
Scala-Basics
36+ articles
Scala-Inheritance
2+ articles
Scala-OOPS
25 posts
Recent Articles
Popular Articles
Extending a Class in Scala
Last Updated: 23 June 2023
Extending a class in Scala user can design an inherited class. To extend a class in Scala we use extends keyword. there are two restrictions to extend a class in Scala : T...
read more
Picked
Scala
Scala
Scala-OOPS
Generic Classes in Scala
Last Updated: 25 April 2019
In Scala, forming a Generic Class is extremely analogous to the forming of generic classes in Java. The classes that takes a type just like a parameter are known to be Gen...
read more
Picked
Scala
Scala
Scala-OOPS
Method Overriding in Scala
Last Updated: 25 April 2019
Method Overriding in Scala is identical to the method overriding in Java but in Scala, the overriding features are further elaborated as here, both methods as well as var ...
read more
Technical Scripter
Picked
Scala
Scala
Scala-OOPS
Scala | Field Overriding
Last Updated: 17 January 2022
In any object-oriented programming language, Overriding is a feature that allows a subclass to provide a specific implementation of a method or field that is already provi...
read more
Scala
Scala
Scala-OOPS
Scala | Abstract Type members
Last Updated: 16 May 2019
A member of a class or trait is said to be abstract if that particular member does not have a complete definition in the class. These Abstract members are always implement...
read more
Picked
Scala
Scala
Scala-OOPS
Scala | Polymorphism
Last Updated: 11 April 2023
Polymorphism is the ability of any data to be processed in more than one form. The word itself indicates the meaning aspolymeans many andmorphismmeans types. Scala impleme...
read more
Picked
Scala
Scala
Scala-OOPS
Getters and Setters in Scala
Last Updated: 20 June 2019
Getter and Setter in Scala are methods that helps us to get the value of variables and instantiate variables of class/trait respectively. Scala generates a class for the J...
read more
Picked
Scala
Scala
Scala-OOPS
Scala-Method
Overriding toString() method in Scala
Last Updated: 24 June 2019
Consider the following Scala program:Scala // Scala Program without override toString method// Creating Classclass Language(LangArticle: Int, LangName: String) ...
read more
Scala
Scala-OOPS
Scala | Stateful Object
Last Updated: 05 December 2022
Stateful Objects are that objects which have changeable members or mutable members, that may vary what transactions or operations were previously performed on the object. ...
read more
Picked
Scala
Scala
Scala-OOPS
Call a method on a Super Class in Scala
Last Updated: 05 August 2019
This concept is used when we want to call super class method. So whenever a base and subclass have same named methods then to resolve ambiguity we use super keyword to cal...
read more
Scala
Scala-OOPS
Determine the class of a Scala object
Last Updated: 02 August 2019
To determine the class of a Scala object we use getClass method. This method returns the Class details which is the parent Class of the instance.Below is the example to de...
read more
Scala
Scala-OOPS
Scala | Controlling visibility of constructor fields
Last Updated: 17 September 2019
The visibility of the Constructor Fields in the Scala language is maintained and controlled by the way of declaration. These can be declared in the below forms:Declared as...
read more
Picked
Scala
Scala
Scala-OOPS
Scala-Constructor
The Factory Pattern in Scala
Last Updated: 22 January 2020
The factory method is used to offer a single interface to instantiate one of the multiple classes. In the Factory pattern, the objective is to make the object in such a wa...
read more
Picked
Scala
Scala
Scala-OOPS
Overriding Accessors and Mutators in Scala
Last Updated: 30 September 2022
A standardized way to override default Accessors and Mutators hasn't been fixed by Scala, yet users of this programming language use one specific and a common method for o...
read more
Picked
Scala
Scala
Scala-Basics
Scala-OOPS
Scala-Constructor
Scala-Method
Heighten and Widen In Scala
Last Updated: 04 May 2020
Heighten and Widen are the functions needed to enable the clients to place elements of different widths on top of each other, or place elements of different heights beside...
read more
Picked
Scala
Write From Home
Scala
Scala-OOPS
Scala-Keyword
1
2
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 !