I found a very interesting paper on the differences of safe and secure. Here's the summary:
Although the paper is mainly about these words in the economical context, I think it explains quite clearly the differences in general. If I were to summarize the above table into a single line, I would agree with your friend in that roughly
"Safety" is about accidental causes, and "security" is about intentional causes.
With means 'accompanied' or 'by'.
In means 'enclosed' or 'surrounded by'.
Method overloading is calling what appears to be the same function in a program but - because different arguments can be given to the function - it is technically a different method being called. This concept of multiple methods that are the same is known as method overloading.
Varargs is shorthand for 'variable arguments' and is a way of passing a set of arguments to a method without explicitly identifying each individual argument.
Putting it all together:
1) Method overloading can be performed by (using) varargs. So 'method overloading with varargs' is fine.
2) Varargs and method overloading as programming concepts accompany each other. You use different arguments for the same named function in overloading. You provide different arguments to a method with varargs. So 'varargs with method overloading' also works.
3) Method overloading does not need to involve varargs. You can overload a method that takes only one argument instead of a set for instance. These other implementations suggest that conceptually method overloading is larger than, and encompasses, varargs. So 'varargs in method overloading' is correct.
You should not say method overloading in varargs. They can't enclose each other.
I would suggest that all three of the above are perfectly valid. Of them perhaps 2) would generally be less used, but in the context of your question, is absolutely correct.
Best Answer
To be simple, we would use 'common' to refer to something that is numerous, while 'usual' would refer to something that is regular.
Therefore,
He usually goes to Church on Sundays.
Commonly, people go to Church on Sundays.
In the first, we are discussing this man's routine, in the second we are discussing the number/percentage of people that partake in the activity.
With that in mind, we would say
The robin is common to all parts of England -not- The robin is usual...
He ordered his usual at the bar -not- He ordered his common...
Where these words are used as adjectives to describe people, there are further differences.
Usual as an adjective for a person is normally positive and means that this person is not out of the ordinary; they are not 'strange' or 'weird'
Common as an adjective for a person is normally negative and means that that person is of the working class, taken from a time when caste systems were rigid and important. Therefore, a common person is one who does not observe finer culture - because they are uneducated or else cannot afford to.
Hope this helps.