Friday, July 4

Regex for Validation

What is Regex?

Regex (or regular expression) is sequence of special characters that  match or find string by using pattern.
(Pattern is sequence characters in regex). Which can be use to search, validate or edit text and data.

Wednesday, February 19

Overloading vs Overriding in Java

Overloading and overriding are completely different. Only the notion about interface (function) name is same. Overloading is the ability to use same interface name but with different arguments. Purpose of functions might be same but the way they work will differ based on the argument types. Overriding is applicable in the context of inheritance. When there is a need to change the behavior of a particular inherited method, it will be overridden in the sub-class.

Ads Inside Post