Similar Collections


This study list contains the basic programs of Scala like printing text, reading values, programs based on the basic operators, conditional-bases programs, etc.

Practice these Scala basic programs to learn the basic programming concepts of Scala, these programs contain the solved code, outputs, and the detailed explanation of the statements, functions used in the Scala basic programs.

questions

Title
Scala program to print \'Hello World\'
Scala program to create the mutable variable
Scala program to create an immutable variable
Scala program to create different types of variables
Scala program to print the value of variables using printf() function
Scala program to print the value of the Boolean variable using printf() function
Scala program to print the hexadecimal value of a number
Scala program to print the octal value of a number
Scala program to read and print the value of the string
Scala program to read the value of integer variable
Scala program to read the value of float variable
Scala program to read the value of character variable
Scala program to find the largest number between two numbers using ternary operator
Scala program to find the largest number among three numbers using ternary operator
Scala program to check whether a given number is EVEN or ODD using ternary operator
Scala program to print the ASCII value of the corresponding character
Scala program to swap two numbers
Scala program to calculate the area of the circle
Scala program to calculate the perimeter of the circle
Scala program to calculate the area of the rectangle
total questions: 32

Questions

32

Views

407

Best Answers

299

Points

5