Monday, February 17, 2020

Regular expression



^(?=\d{10})[1]\d{1,9}|^\d{1,9}

^ = startting string
(?=\d{10}) = check the string size is 10 or not


Ref :
  1. https://www.regextester.com/96826
  2. https://www.rexegg.com/regex-quickstart.html

Autoboxing and Unboxing

  Autoboxing  is the automatic conversion that the Java compiler makes between the primitive types and their corresponding object wrapper cl...