Menu

Remove all unused imports in one go using Eclipse IDE

Many times we face problem where some unwanted imports get added in the our program file. It is very irritating and time consuming task to remove those unused imports one by one, to make our code clear and readable.
But we do have a shortcut for this, just in a millisecond our Eclipse IDE done this job for us. Eclipse provide a shortcut CTRL + SHIFT + O, this shortcut command will remove all those unused imports from your code file. 

To do so, click anywhere in your java file and press CTRL+SHIFT+O. After using this shortcut command Eclipse will remove all the unused import from your java file. Below are the screen shots:

Before:

Unused imports in a java file
unused imports in a Java file
After using the shortcut CTRL+SHIFT+O, your java file will look like this.

After

How to remove unused imports
No unused imports

Article 370 and 371 of Indian constitution

Article 370 and 371 of Indian constitution.

370. Temporary provisions with respect to the State of Jammu and Kashmir.

371. Special provision with respect to the States of Maharashtra and Gujarat.
371A. Special provision with respect to the State of Nagaland.
371B . Special provision with respect to the State of Assam.
371C. Special provision with respect to the State of Manipur.
371D. Special provisions with respect to the State of Andhra Pradesh.
371E. Establishment of Central University in Andhra Pradesh.
371F. Special provisions with respect to the State of Sikkim.
371G. Special provision with respect to the State of Mizoram.
371H. Special provision with respect to the State of Arunachal Pradesh.
371-I. Special provision with respect to the State of Goa.

Maslow's self-actualization

Self-actualisation refers to the need for personal growth that is present throughout a person’s life. For Abraham Maslow an American psychologist, a person is always “becoming” and never remains static in these terms. In self-actualisation a person comes to find a meaning to life that is important to them.



The hierarchies of needs, according to Maslow, include:

  1. Biological and Physiological needs - air, food, drink, shelter, warmth, sex, sleep, etc.
  2. Safety needs - protection from elements, security, order, law, limits, stability, etc.
  3. Belongingness and Love needs - work group, family, affection, relationships, etc.
  4. Esteem needs - self-esteem, achievement, mastery, independence, status, dominance, prestige, managerial responsibility, etc.
  5. Cognitive needs - knowledge, meaning, etc.
  6. Aesthetic needs - appreciation and search for beauty, balance, form, etc.
  7. Self-Actualization needs-realizing personal potential, self-fulfillment, seeking personal growth and peak experiences.