Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
VB.NET
Perl
COBOL
Pascal
FORTRAN
BASIC
Ada
C++
Scala
ASP.NET
 C
 :) Hot Jobs
 
 :) Latest Articles


  

 


In Java and Scala which one is pure OOP language?
Question Posted on 01 Mar 2021

Home >> Programming Languages >> Scala >> In Java and Scala which one is pure OOP language?




In Java and Scala which one is pure OOP language?
When everything should be an object in programming language it is called as pure Object-Oriented language. Java is not pure OOP language due to below two non-oop concepts
(i)Java supports primitive data types and they are not objects
(ii)Java also supports static members which are not allowed to objects.
On the other hand Scala is pure OOP Languagebecause everthing in scala is an object and everything is a value. Functions are also values and values are objects. Because scala does not have primitive data types and also not have static members like Java have.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
what is use of Tuples in Scala?
Syntax to Append single and multiple data element in list in Scala?
Difference between Java, Scala, Python and R
Define Closure in Scala with example?
Different types of variables in Scala explain them?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |