Sir,I agree with you regarding being professional but this website is available on all public network across the world that's why i am posting on this forum and according to WIPO Copyright Treaty the exclusive rights are only applicable in the country or region in which a patent has been filed and granted, in accordance with the law of that country or region and it is not possible for a non US resident to know about US laws.
In short according to WIPO Copyright Treaty the exclusive rights are only applicable in the country or region in which a patent has been filed and granted, in accordance with the law of that country or region.And also you said i am posting on a US forum but sir i am posting on this forum because this forum is accessible legally from my country and i am not using proxy for posting.
I have two TreeSet as h1 and h2 now i want to convert these two TreeSet into HashMap ,h1 as a key and and h2 as a value. So please tell me how can i do this ? Also if i pass (2,3) and(3,2) is it considered duplicate or not?
Most of the code posted by me on this forum is written by me and also my country law supports use of any copyright material which is available publicly for educational purposes.So as long as i am using all these resources for learning ,it is not mandatory to tell the source legally.
I write a program to add only even no in ArrayList but the program gives runtime Exception as :
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
MyInput : 5
1 2 3 4 5
Please help me out and tell me what i am doing wrong?
I run this code on my machine it works fine.But since your exception is pointing to line 8 and 23.Check that database name ,username and password must be correct for mysql server and also the spellings of table name as employees and column names as firstname and lastname are correct and exists in your database