
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 6 Articles for Scala

2K+ Views
Scala and Golang are both popular programming languages, but they have distinct differences in their features, syntax, and performance. In this article, we'll explore the differences between Scala and Golang and compare them side by side in a table format. Scala Overview Scala is a general-purpose programming language that combines object-oriented and functional programming concepts. It was created to address some of the limitations of Java, such as its verbosity, and has become a popular language for building high-performance applications. Scala runs on the Java Virtual Machine (JVM) and is compatible with Java libraries. Golang Overview Golang, also known as ... Read More

555 Views
Scala and Python are both powerful programming languages that are widely used for a variety of applications. They have some similarities, such as being high-level programming languages, but they also have some important differences. Whether you are a beginner or an experienced developer, this article will provide you with a comprehensive understanding of the key differences between Scala and Python and help you make an informed decision on which language to use for your next project. Factors Scala Python Syntax Scala is a statically typed language, which means that variables must be declared with a specific ... Read More

804 Views
Suppose we have a list in Scala, this list is defined under scala.collection.immutable package. As we know, a list is a collection of same type elements which contains immutable (cannot be changed) data. We generally apply last function to show last element of a list.Using last keywordThe following Scala code is showing how to print the last element stored in a list of Scala.Example import scala.collection.immutable._ object HelloWorld { def main(args: Array[String]) { val temp_list: List[String] = List("Hello", "World", "SCALA", "is", "awesome") println("Elements of temp_list: " + temp_list.last) } }Output$scala HelloWorld Elements of ... Read More

612 Views
Scala and Java are two of the most widely used high-level programming languages in the world of today's computer programming. Scala was developed specifically to address a number of Java's limitations. In particular, it is intended to be as condensed and terse as possible, with the goal of reducing the amount of code that the programmer is required to produce.Java and Scala have their own specialised fields and domains of application. Go through this article to find out the primary characteristics of these two high-level programming languages and how they are different from each other.What is Scala?Scala is a computer ... Read More

1K+ Views
TraitsTraits are similar to interfaces in Java and are created using trait keyword.Abstract ClassAbstract Class is similar to abstract classes in Java and are created using abstract keyword.Example Live DemoFollowing is the program in Scala to show the usage of Traits and Abstract Classes.trait SampleTrait { // Abstract method def test // Non-Abstract method def tutorials() { println("Traits tutorials") } } abstract class SampleAbstractClass { // Abstract method def test // Non-abstract meythod def tutorials() { println("Abstract Class tutorial") } } ... Read More

161 Views
Apache Kafka and Kinesis both software tool is to processing data stream in real time. Apache kafka is developed by linked-in and it is written in Scala and java. Kinesis is developed and managed by Amazon. It can be only used as a services.According to the amazon documentation −Amazon Kinesis Data Streams enables you to build custom applications that process or analyze streaming data for specialized needs. You can continuously add various types of data such as clickstreams, application logs, and social media to an Amazon Kinesis data stream from hundreds of thousands of sources. Within seconds, the data will ... Read More