In the code below:
class A(val a: Int, val b: Int)
class B(a: Int, b: Int, val c: Int) extends A(a,b)
Are the variable a and b, or pointers to them, duplicated in memory when creating an instance of B?
Or more generally: does a B takes more memory than the memory size of A + an Int?