Posts

follow

STRINGS

 Strings are generally immutable in nature., Whereas StringBuffer & String Builder are mutable  Reason - Security is the reason for Strings they are made immutable. because with strings you can able to access databases and files. sometimes strings store passwords & usernames that cannot be modified StringBuffer - mutable, thread-safe StringBuilder - mutual, not thread-safe 'String' - Not a keyword, It is not a primitive data type, it is a derived type Security is the reason for Strings they are made immutable. because with strings you can able to access databases and files. sometimes strings store passwords & usernames which cannot be modified. String Constant Pool : It  is a Special memory Region where JVM stores String Instances What is the String Constant Pool? The  String Constant Pool  (also known as the  String Intern Pool ) is a special area within the Java heap where  string literals  are stored. When you create a string liter...
  UNDERSTANDING GIRL'S MINDSET & BEHAVIOUR: How to approach girls in a different way Girls are just awesome. I feel like they are the ones who give the feeling to forget about everything except themselves. I'll call them another form of nature. Because they are the ones who will carry us, care for us, sacrifice for us, help us & do anything for us. Above all these can be done by a girl only if she is your mother. Other than a mother no girl can give a Complete love that is 100% sure. I have more respect& admiration for girls because they do anything for their children. In fact, they will leave society & husbands just for their children. but the child will be not useful to the mother. let me say it clearly. A mother has to take care of their children for at least 14-16 years. During this time period, she had will do more work & feel more pain & sacrifice a lot for their children...If she is with her husband she has any advantages and almost she has no ten...