Hi All,
I want to use java to automate creation and editing of an excel sheet. I am having problems finding the Jar file for this API. Every time I download i get something other than the ".jar" itself. I am using the links from Apache Can anyone help me?
Don't worry you will not get any confirmation through email. If you have the receipt of the payment and the Sun Microsystems exam voucher with the expire date printed on it...you are safe. I did not get any confirmation through email. Just book your time slot a few days ago and give your best shot at the exam.
Hi,
I am new to this forum. I want to learn web services , fast(if possible). My manager has indicated that we are expecting some web services work.. so I need some help guys! Please post some links where I can learn web services. I know core java and have worked on servlets and jsp. I have started with calculator example of web services that comes with NetBeans IDE.
HashSet is a Set and Hashtable is a Map. You have to read Set and Map interfaces to know the difference. You use Comparable's compareTo method to compare two objects of a class. That basically menas that implementing a comparable interface will make your class to be used to calculate HashCode. However comparator can be used to compare one or more objects. Array is a contiguous collection of similar data-types (generally) whereas collection is a type safe arrangement of objects. Collections framework will tell more. Please correct me if I am wrong.
ArrayList is nothing other than a LIST itself so whether you insert at 2 or 9 doesn't make a difference as far as insertion time is concerned. However note that the situation would have been different had it been a LinkedList since it involves an insertion order. The insertion has to take place though HEAD and ends at TAIL. So in such a situation insertion at 2 will definitely be faster than insertion at 9.
Please correct me if I am wrong.
copy the content to a string variable and then use trim method to remove unwanted spaces from either side of the string.
Note that trim will not remove whitespace chars inside the string between words.
I hope it helps.
Hi all Ranchers,
I cleared SCJP 6 after a long wait. I thank all those people that helped me and special thanks to Ankit Garg who believed i could actually PASS. Please do not ask me for % scores I am pretty disappointed at that. Anyways thanks to all once again. K&B rocks.
private members of a class are its sole property and no-one can access it because it's scope is limited to the boundary of the class. Sometimes it is neccessary to preserve certain informations from being accessed outside class for security reasons.. ex: PHI( Protected Health Information) you cannot disclose someone's phi or someone's personal Bank A/C or salary.. these are confidential so keep it private to a class.
private members of a class are its sole property and no-one can access it because it's scope is limited to the boundary of the class. Sometimes it is neccessary to preserve certain informations from being accessed outside class for security reasons.. ex: PHI( Protected Health Information) you cannot disclose someone's phi or someone's personal Bank A/C or salary.. these are confidential so keep it private to a class.
If you want to learn about wild cards read this link. It will clear your doubt.
Note that <?> and <? extends Object> behaves similarly in nearly all scenarios. Also note that the add method of list is not compatible with these two.