COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
object-oriented
|
|
aspect-oriented
|
|
pascal
|
|
imperative
|
Detailed explanation-1: -Scala is a pure object-oriented language in the sense that every value is an object. Types and behaviors of objects are described by classes and traits. Classes can be extended by subclassing, and by using a flexible mixin-based composition mechanism as a clean replacement for multiple inheritance.
Detailed explanation-2: -Scala treats everything as an instance of the class and it is more object-oriented language as compare to Java. Java does not support operator overloading. In Scala, all the operations on entities performed using method calls. not done using the call method.
Detailed explanation-3: -Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects", which can contain data and code. The data is in the form of fields (often known as attributes or properties), and the code is in the form of procedures (often known as methods).
Detailed explanation-4: -Scala runs on the Java platform (Java virtual machine) and is compatible with existing Java programs.
Detailed explanation-5: -Scala lets you write code in an object-oriented programming (OOP) style, a functional programming (FP) style, and even in a hybrid style, using both approaches in combination.