Encapsulation in Scala Programming Language

  • date 8th October, 2020 |
  • by Prwatech |
  • 0 Comments

Encapsulation :

1.     Getter()

2.     Setter()

Abstraction:

It is the feature oops concept where it can be created using keyword “abstract”.

It is allowed within :

1. class

2. Variable

3. function

Quick Support

image image