What you are doing is going with a wrong for loop initialization. It will be like this:
public class FriendList {
public static void main (String[] args) {
String [] friends =...
Type: Posts; User: arnavkumartechno
What you are doing is going with a wrong for loop initialization. It will be like this:
public class FriendList {
public static void main (String[] args) {
String [] friends =...
It is not the complete program.
I am learning java. And have some doubts to be sorted out. I want to know that if a number is divided by 0 than it throw ArithematicException. And if i take any string from user as input and stored...
You can not create setup.exe in java. Executable jar can be created in java. And if everything is fine with your application then why are you using type 1 driver for DB. It is slowest and now there...
If your data is being submitted successfully then what is the problem. Use correct queries to retrieve the data but the main thing is that using System.out.print() method with QWT/Swing is worthless....
Thank you norm, i am new with the forums. Thank you i will take care of it in future.
Re: Calling up array methods from main
Try this with some of your own effort...
public static void main(String[] args) {
int rndInt = randomInt(int low, int high);
int arr[]= randomIntArray...
Re: Which one the best method use for Search..?
Searching is an important function in computer science. As the data sets become larger and larger, good search algorithms will become more...
Re: Multivaluemap with keyset iterator returning in order
you can use list of objects against the key for value in map.
List<YourDesiredClass> YourDesiredClassList = new...
Re: Design Patterns
I completely agree with Rodiongork and you can learn SRP principle, DRY principle, DAO design pattern which will increase your performance during programing.
No problem is here with the code. This code should be compiled and run perfactly...!!!!!!!