java-antony.blogspot.com
Java: Variable Number of Arguments
http://java-antony.blogspot.com/2007/07/variable-number-of-arguments.html
Thursday, July 5, 2007. Variable Number of Arguments. Did you know that java too supports variable number of arguments? Public static void main(String args[]){. System.out.println("The sum is " calculateSum(1,2,3) ;. Private static int calculateSum(int. values){. Int sum = 0;. For (int counter = 0; counter. Sum = sum values[counter];. It works with both primitive data types and objects. Antony Vincent Pandian.S. Subscribe to: Post Comments (Atom). Print any text without using semicolon in the prog.
s-antony.blogspot.com
2007 - Lessons Continue....: God Teaches man regrets and refuses
http://s-antony.blogspot.com/2007/05/god-teaches-man-regrets-and-refuses.html
2007 - Lessons Continue. Wednesday, May 23, 2007. God Teaches man regrets and refuses. Whenever someone points at our mistakes which we repeatedly do, we proudly say, "That is my character. I will be like that because i have to be like that. Thats my identity." Is that true? Should a person repeat on his mistakes to maintain his character? So, what is needed? Antony Vincent Pandian.S. Nice one Antony. But keep rolling your posts. June 20, 2007 at 12:40 PM. November 12, 2008 at 4:22 AM. A Bible Verse a Day.
s-antony.blogspot.com
2007 - Lessons Continue....: March 2007
http://s-antony.blogspot.com/2007_03_01_archive.html
2007 - Lessons Continue. Tuesday, March 6, 2007. Variable number of arguments in Java. Did you know that java too supports variable number of arguments? Public static void main(String args[]){. System.out.println("The sum is " calculateSum(1,2,3) ;. Private static int calculateSum(int. values){. Int sum = 0;. For (int counter = 0; counter. Sum = sum values[counter];. It works with both primitive data types and objects. Antony Vincent Pandian.S. Antony Vincent Pandian.S. Subscribe to: Posts (Atom).
s-antony.blogspot.com
2007 - Lessons Continue....: July 2007
http://s-antony.blogspot.com/2007_07_01_archive.html
2007 - Lessons Continue. Friday, July 20, 2007. Do we realize the purpose? Before answering the above question, we should know what is the purpose? What is the purpose of life? Talking bad about others? Taking revenge on others? Is any one of the above, the purpose of life? The real purpose of life is to be happy :-). The feeling which we get by hurting or harming others is not happiness. Is our current life satisfying the purpose of life or is our current life happy? I know that many or almost all say no.
s-antony.blogspot.com
2007 - Lessons Continue....: When do we seek God?
http://s-antony.blogspot.com/2007/07/when-do-we-seek-god.html
2007 - Lessons Continue. Thursday, July 5, 2007. When do we seek God? Most of us look at or remember of God only when we are in distress or when we are out of help or when we really need some miracle to make our jobs done. Is that what God expects? Why dont we look back at God when our job is done thru God? Why dont we say him a simple 'thanks'? Is it because he is not visible? Or is it because of the fact that he is not going to come in front of us and ask for a thanks? The answer is the same. It no...
s-antony.blogspot.com
2007 - Lessons Continue....: Variable number of arguments in Java
http://s-antony.blogspot.com/2007/03/variable-number-of-arguments-in-java.html
2007 - Lessons Continue. Tuesday, March 6, 2007. Variable number of arguments in Java. Did you know that java too supports variable number of arguments? Public static void main(String args[]){. System.out.println("The sum is " calculateSum(1,2,3) ;. Private static int calculateSum(int. values){. Int sum = 0;. For (int counter = 0; counter. Sum = sum values[counter];. It works with both primitive data types and objects. Antony Vincent Pandian.S. March 7, 2007 at 4:07 PM. Antony Vincent Pandian.S.
java-antony.blogspot.com
Java: July 2007
http://java-antony.blogspot.com/2007_07_01_archive.html
Monday, July 9, 2007. Print any text without using semicolon in the program. Here is the question. Print any text without using semicolon in your program. In C/C , it is wasy to answer, you will say:. If (printf("Printed the text without using semicolon") {}. But in Java, you cannot do directly like that because System.out.println() returns nothing and the println()'s return type is void. So, how will you do it in Java? We can do the same in Java using Reflection classes(java.lang.reflect). Coming to the...
java-antony.blogspot.com
Java: String and its Intern method
http://java-antony.blogspot.com/2007/07/string-and-its-intern-method.html
Sunday, July 8, 2007. String and its Intern method. How does the JVM create objects when you create a String literal? How does the JVM create objects when you create a String object using new operator? How does the JVM create objects when you create a String object and call its intern method? If you create 100 String literals with the value "Hello", all the references to those 100 literals will be the same. You can cross check this using the = operator. String str = "hello";. Str = str.intern();. Antony ...