0
What is difference between faction programming and oop programming..
help plzz need it
2 Réponses
+ 3
In OOP, nearly everything works by classes and object.
Did you know that your "int" is actually a keyword for a class Integer? So you can create
Integer x = new Integer(6); //int x =6;
and it is actually valid.
For functionals, nearly everything is in a function.
Say if i do
let x = 6 //F#
You can say that x is a function that simply returns 6. That is true but wouldnt make much sense too.
0
Not 100% true. They are structs(int, double, etc...) in some languages.