Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-3 votes
1 answer
64 views

Is there a different way of implementing this program without using nested while loop? [closed]

Presently my program is working properly, but how do i implement this program without using nested while loop(one while loop within another while loop).This is a kids way of programming and my office ...
david mathew's user avatar
3 votes
2 answers
215 views

Program for entering 1000 random numbers into two different databases, one for odd numbers and one for even

I have created a program in java for entering 1000 random numbers into two different database one for odd numbers and one for even. The code is executing fine but it takes nearly a minute to execute. ...
sujitha's user avatar
  • 31
2 votes
1 answer
114 views

Java database query logic

I'm making a wrapper for querying the database so that I can more easily control the flow of database management and to make it easier for me to write data beans around my database. This code is ...
jros's user avatar
  • 155
2 votes
2 answers
88 views

SQL Query to display minimum prices per country

I have developed a Tender management System sort of code for one of my client. This is the piece of code : ...
Arpit Porwal's user avatar
3 votes
2 answers
361 views

Asking a user to take money from a checking account and move it to a savings account - follow-up

I made a few changes to this: Asking a user to take money from a checking account and move it to a savings account The changes I made were: improved the names of methods and variables to better ...
user1764094's user avatar
15 votes
8 answers
5k views

Asking a user to take money from a checking account and move it to a savings account

I'm aiming to get this program right as I might show it at a job interview. The code below runs fine but I would like to know if there's anything that can be improved in terms of readability, good ...
user1764094's user avatar
4 votes
1 answer
1k views

Optimize MySQL in a stored procedure

How should I optimize my code for better performance? When I execute the code outside of MySQL stored proc, it is 500% faster. MySQL stored procedure ...
James's user avatar
  • 348