Showing Tag: "difference" (Show all posts)

Difference between == and === operator in JavaScript

Posted by jineesh uvantavida on Monday, June 7, 2021,
 ‘==’ operator
  • check abstract equality i.e. it does the necessary type conversions before doing the equality comparison
 ‘===’ operator
  • strict equality i.e. it will not do the type conversion hence if the two values are not of the same type, when compared, it will return false

Continue reading ...
 

Difference between Abstract Class and Interface in C#

Posted by jineesh uvantavida on Monday, June 7, 2021,
Abstract Class
  • Its a way to achieve abstraction in c#.
  • Not instantiated directly
  • must contain at least one abstract method.
  • used to define base class.
  • contains both declaration and definition.
  • contains constructor.
  • it can contain static members
  • contains different types of access modifiers like public, private, protected.
  • performance of abstract class is fast.
  • used to implement core identity of class
  • a class can only use one abstract class.
  • if many implementation are same kind and common behavior, then it...

Continue reading ...
 
 

Translate This Page

 


Make a free website with Yola