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...

31 Mind blowing psychology facts

31 Surprising psychology facts you should know

1.Sarcasm is a sign of a healthy brain


People who could instantly use sarcasm in response to a trivial question have healthy minds.  Moreover, those who could understand cynicism well are also good at reading people’s minds.

 

2. A person still has 7 minutes of brain activity upon dying




3. The way you dress has a connection with your mood.



It is  not just in the color that you choose to wear. Dressing well could also help in keeping you stable and happy.

4. Having a plan B would only make plan A less likely to work



Every now and then, it hurts to be prepared. In a series of experiments from the University of Pennsylvania, researchers found that when volunteers thought about a backup plan before starting a task, they did worse than those who hadn't thought about a plan B. What's more, when they realized they had options, their motivation for succeeding the first time around dropped. The researchers stress that thinking ahead is a good idea, but you might be more successful if you keep those plans vague.

While it is good to think ahead, keeping those plans vague first could make you be more successful 

5. Some people are afraid of feeling too much happiness




It is due to the fear of the pattern that something tragic might happen next

6. France is the most depressed country in the world


For every 5 people, 1 suffers from depression. Above ⅓ of Europeans overall have a mental health disorder.

7. Your brain does more creative work when you’re tired



8. Falling in love has a similar neurological effect as getting high on cocaine.




9. Holding hands with someone you love can alleviate physical pain as well as stress and fear.



10. People are more honest when physically tired. This is why people confess things during late night conversations



11. A  hug longer than twenty seconds will release chemicals into your body that make you trust the person you’re hugging.


12. The average high school kid today has the same level of anxiety as the average psychiatric patient in the early 1950’s.


13. Women generally prefer men with deep husky voices because they seem more confident and not aggressive.


14.The average amount of time a woman can keep a secret is 47 hours and 15 minutes.


15.  The happier we are, the less sleep we require.



16. Marrying your best friend eliminates the risk of divorce by over 70%, and this marriage is more likely to last a lifetime.



17. being alone for a long time is as bad for your health as smoking 15 cigarettes a day.


Researchers found that the fewer friends a person has, the higher levels of the blood-clotting protein fibrinogen. The effect was so strong that having 15 friends instead of 25 was just as bad as smoking.


18. Turning foot while talking is a sign of disagrement


 When two persons talk to each other and one of them turns their feet slightly away or repeatedly moves one foot in an outward direction, this is a strong sign of disagreement, and they want to leave.

19. People who try to keep everyone happy often end up feeling the loneliest


20. If you can't stop your stream of thoughts at night, get up and write them down. This will set your mind at ease so you can sleep.


21. Shy people talk little about themselves, but they do this in a way that makes other people feel that they know them very well.


22. Women who have mostly male friends stay in a good mood more often.



23 . Our brain doesn't think long-term deadlines are so important.



Pretty much everyone has procrastinated at one time or another, even though we know logically that it would make more sense to get a jump on our taxes than to turn on Netflix. We prefer urgent, unimportant tasks because we know we'll be able to complete them. There's also evidence that when we see the deadline looming in terms of days, rather than months or years, because we feel more connected to a day-by-day passing of time.

24 . The length of your tongue tells something about your sexual curiosity.


If you could lick your elbows, then it means that you are more willing and open to trying new experiences.

25. Receiving rewards could convince you that a boring task was fun.


A study paid volunteers to convince someone that a boring task was actually interesting. Those who lied yet still find the activity boring got paid $20. On the other hand, those who did not have a genuine reason to lie and convinced themselves that the task was truly fun were only paid $1.

26. People aged between 18 and 33 carry the most amount of stress in the world


The stress levels only tend to reduce after the border age of 33.

 27. You Forget 50% of Your Dream in 5 Minutes

For this reason, many of us keep dream journals as a way of remembering.

Also, you often dream without remembering anything at all.

28 . Sleeping Helps You Lose Weight


If you’re trying to shift a few pounds, getting a decent amount of sleep (7 to 9 hours ideally) is as important as diet and exercise.

29. When a guy says something really  sentimental, girls will remember it forever and ever.


30. It takes only a fifth of a second for your hormones to give off a sense of euphoria in your brain as you look at your crush.

31. Gossiping is the favourite pastime of girls.











Comments

Popular posts from this blog