Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Having a hard time writing program to calculate test scores..........  December 13, 2010 at 4:25 AM
i need a program that does this:Standardized Test Scores A local high school is giving a standardized test to all of its students. There are 50 questions on the test and the school would like you to gather some statistics on how the students performed. Scores can range anywhere from 0 ... View Questions/Answers

Java GUI code  December 13, 2010 at 1:16 AM
Write a GUI program to compute the amount of a certificate of deposit on maturity. The sample data follows: Amount deposited: 80000.00 Years: 15 Interest rate: 7.75 Total Amount: Hint** to solve this problem, computer 80000.00 (1+7.75 /100)^15 ... View Questions/Answers

How to get the position of the comments in the pdf  December 12, 2010 at 6:26 PM
how to get the postion of comments, in the extracted xml, from pdf ... View Questions/Answers

Advertisement

image displaying in java  December 12, 2010 at 6:25 PM
how to display an image by using load image button in applet viewer? ... View Questions/Answers

How to get the position of the comments in the pdf  December 12, 2010 at 6:23 PM
how to get the postion of comments, in the extracted xml, from pdf ... View Questions/Answers

UITableView delegate method  December 12, 2010 at 6:04 PM
Hi, Please let's know the UITableView delegate methods. Give me full code UITableView delegate methods. Thanks ... View Questions/Answers

UITableView delegate method  December 12, 2010 at 6:03 PM
Hi, Please let's know the UITableView delegate methods. Give me full code UITableView delegate methods. Thanks ... View Questions/Answers

Core Java  December 12, 2010 at 4:39 PM
what is a class? ... View Questions/Answers

program  December 12, 2010 at 3:31 PM
. Develop a program that accepts an initial amount of money (called the principal), a simple annual interest rate, and a number of months will compute the balance at the end of that time. Assume that no additional deposits or withdrawals are made and that a month is 1/12 of a year. Total interest... View Questions/Answers

program  December 12, 2010 at 3:30 PM
Develop a program that computes the distance a boat travels across a river, given the width of the river, the boat's speed perpendicular to the river, and the river's speed. Speed is distance/time, and the Pythagorean Theorem is c2 = a2 + b2. ... View Questions/Answers

java program  December 12, 2010 at 3:27 PM
Develop the program calculateHeight, which computes the height that a rocket reaches in a given amount of time. If the rocket accelerates at a constant rate g, it reaches a speed of g ? t in t time units and a height of 1/2 * v * t where v is the speed at t. ... View Questions/Answers

java program  December 12, 2010 at 3:22 PM
Develop the program calculatePipeArea. It computes the surface area of a pipe, which is an open cylinder. The program accpets three values: the pipes inner radius, its length, and the thickness of its wall. ... View Questions/Answers

reverse the charstring  December 12, 2010 at 1:41 PM
how to reverse any character of the string? ... View Questions/Answers

draw the running or moving graph using database in jsp  December 12, 2010 at 1:24 PM
hi my question is how to draw the running or moving graph using jsp and take x and y co-ordinate value from database ... View Questions/Answers

draw the running or moving graph using database in jsp  December 12, 2010 at 1:24 PM
hi my question is how to draw the running or moving graph using jsp and take x and y co-ordinate value from database ... View Questions/Answers

program calculateCylinderVolume  December 12, 2010 at 12:43 PM
program calculateCylinderVolume ... View Questions/Answers

program  December 12, 2010 at 12:28 PM
Develop the program calculateCylinderArea, which accepts radius of the cylinder's base disk and its height and computes surface area of the cylinder. ... View Questions/Answers

program  December 12, 2010 at 12:26 PM
An old-style movie theater has a simple profit program. Each customer pays $5 per ticket. Every performance costs the theater $20, plus $.50 per attendee. Develop the program calculateTotalProfit that consumes the number of attendees (of a show) and calculates how much income the show earns.... View Questions/Answers

program  December 12, 2010 at 12:25 PM
Utopias tax accountants always use programs that compute income taxes even though the tax rate is a solid, never-changing 15%. Define the program calculateTax which determines the tax on the gross pay. Define calculateNetPay that determines the net pay of an employee from the number of hours work... View Questions/Answers

progran  December 12, 2010 at 12:22 PM
. Develop the program calculateCylinderVolume., which accepts radius of a cylinder's base disk and its height and computes the volume of the cylinder. ... View Questions/Answers

program  December 12, 2010 at 12:16 PM
Write a program to find the difference between sum of the squares and the square of the sums of n numbers? ... View Questions/Answers

Array sort  December 12, 2010 at 6:48 AM
Program that uses a function to sort an array of integers. ... View Questions/Answers

c++  December 12, 2010 at 5:14 AM
Assume vector "x" of integers with values of 7, 3, 5, 8, 1, 9, 0, 4, 2, 6. Second, assume integer variables "a," "b" and "y" with values of 3, x.size()-5 and 0, respectively. Third, assume a for-loop header which: 3.1) increments its control variable; 3.2) has a control variable n... View Questions/Answers

Help me quickly plz??  December 12, 2010 at 1:44 AM
Can you help me to write code quickly this code is a java code take input as double and should use command line arguments and enhanced for statement then find the combine of the numbers plz help quickly amr_alshroof@yahoo.com ... View Questions/Answers

java  December 12, 2010 at 1:03 AM
i have 3 numbers and i need to find the greatest of them howw without using arrays?? ... View Questions/Answers

Lost Using Swing Components(3)  December 12, 2010 at 1:00 AM
Hello, I sound like every other newbie but I desperately need help. I have to write an application for the WebBuy Company that allows a user to compose the three parts of a complete email message: the "To", "Subject", and "Message:" text. The "To" and "Subject:" text areas should provide a single... View Questions/Answers

how to print hello world every second till i have pressed enter key  December 12, 2010 at 12:57 AM
how to print hello world every second till i have pressed enter key ... View Questions/Answers

Lost Using Swing Components(2)  December 12, 2010 at 12:56 AM
Here is the code block corrected: //Insert missing code here. import java.awt.*; import java.awt.event.*; public class JEMail extends JFrame implements ActionListener { //Insert missing code here. private JTextField toField = new JTextField(24); private ... View Questions/Answers

Lost Using Swing Components  December 12, 2010 at 12:52 AM
Hello, I sound like every other newbie but I desperately need help. I have to write an application for the WebBuy Company that allows a user to compose the three parts of a complete email message: the "To", "Subject", and "Message:" text. The "To" and "Subject:" text areas should provide a single... View Questions/Answers

Lost Using Swing Components  December 12, 2010 at 12:50 AM
Hello, I sound like every other newbie but I desperately need help. I have to write an application for the WebBuy Company that allows a user to compose the three parts of a complete email message: the "To", "Subject", and "Message:" text. The "To" and "Subject:" text areas should provide a single... View Questions/Answers

Lost Using Swing Components  December 12, 2010 at 12:43 AM
Hello, I sound like every other newbie but I desperately need help. I have to write an application for the WebBuy Company that allows a user to compose the three parts of a complete email message: the "To", "Subject", and "Message" text. The "To" and "Subject:" text areas should provide a single ... View Questions/Answers

recursive fuction in java  December 12, 2010 at 12:25 AM
A class has a recursive method which return a boolean value. If a codition is fail & control goes to out of loop to return statement then control goes to internal method calling instead of another method which call that recursive method. ... View Questions/Answers

method overloading  December 12, 2010 at 12:15 AM
what is output of this program & why class Test { public void display(String msg) { system.out.println(msg); } public void display(Object msg) { system.out.println(msg); } } Class TestDemo { new Test().display(null); } ... View Questions/Answers

java prog  December 11, 2010 at 9:31 PM
Write a Java applet that inputs a person's date of birth (month, day, year): ? Informs the person if the year of birth is a prime number. ? Informs the person if the year of birth is a leap year. ? Computes and outputs the day of week they were born. ? Compute and output their Zodiac sign... View Questions/Answers

possible loss of precision  December 11, 2010 at 6:13 PM
{ int amount=(int)depositAmount; switch (depositAmount) { case(depositAmount<=depAmount1): intrest=(depositAmount*1*rate1); break; case(depositAmount>=depAmount1 && depositAmount<=depAmount2): intrest=(depositA... View Questions/Answers

Position one element relative to other using JQuery.  December 11, 2010 at 5:54 PM
Hello Sir In my web page, i have a hidden div which contains a toolbar-like menu. Also, i have a number of divs which are enabled to show the menu DIV when the mouse hovers over them. Is there a built-in function which will move the menu DIV to the top right of the active (mouse hover) D... View Questions/Answers

Replace broken Image using JQuery  December 11, 2010 at 5:22 PM
Sir My web page contains a lot of images. But when it will not loaded properly, it shows a broken image. How can I fix it so that broken image will be replaced by error image automatically. Please Mention code. Best regards ... View Questions/Answers

program  December 11, 2010 at 5:12 PM
accepts the area of a square and will calculate its perimeter. ... View Questions/Answers

accepts the area of a square and will calculate its perimeter.  December 11, 2010 at 5:11 PM
Develop a program that accepts the area of a square and will calculate its perimeter. ... View Questions/Answers

Getting the ID of the element that fired an event using JQuery  December 11, 2010 at 4:32 PM
Hello sir I want to know-Is there any way to get the ID of the element that fires the event? Please mention the code with your reply. This will make easy for me to understand the concept. Thanks in advance ... View Questions/Answers

DBMS  December 11, 2010 at 4:18 PM
what is the difference between a procedure and a function in oracle? ... View Questions/Answers

Show spinner while loading image using JavaScript  December 11, 2010 at 3:20 PM
Hello sir I am working on a web page which has .png image in middle of it. Other part of the page contains the set of links which , when clicked, the entire page reloads and looks exactly the same as before except for the chart in the middle of the page. The problem is that when t... View Questions/Answers

Read text file to 2D array and sorting the second column  December 11, 2010 at 2:56 PM
we found that the student names with marks in a text file the marks decreases significantly. when exams conducted fast 4 times.The first column is the student name and the second column is marks in tests.What we need to find is which student marks decreases most often that is 3 times or 4 times. ... View Questions/Answers

Disabling submit button using jQuery  December 11, 2010 at 12:50 PM
Hello Sir I want to know - is there any way or approach to disable client side form's "Submit" button. Please give code also. ... View Questions/Answers

Multiple implementaion of datepicker.  December 11, 2010 at 12:37 PM
Hello Sir I am using date-picker in my web page. But i need to put date-picker on multiple text fields without using different "id" for text fields. Please help me and give me some code line also. Thanks in advance ... View Questions/Answers

Calender code ! HELP!!!  December 11, 2010 at 12:02 PM
how can i add 3 days to current date ? i am using a script from jotform which has a calender field. the system shows the current date, but i want to add 3 days to the current date for the purpose that the client is only able to select dates 3 days after the current date. eg. if today is 1... View Questions/Answers

Calender code  December 11, 2010 at 12:01 PM
hi, this is my script, where do i add your script below to? var Calendar = Class.create(); //------------------------------------------------------------------------------ // Constants //-----------------------------------------------------------------------------... View Questions/Answers

Difference between jQuery UI widget and plugin  December 11, 2010 at 11:07 AM
JQuery UI widgets and plugin are included in the same way in html page. They work like the same way as seems to me .Why their names are different ? What are differences between them ? Please explain clearly. ... View Questions/Answers

Ajax in jQuery  December 11, 2010 at 10:47 AM
How ajax can be use in JQuery? ... View Questions/Answers

how to deal with exceptions in servlet  December 11, 2010 at 10:29 AM
plz give me the reply ... View Questions/Answers

java  December 11, 2010 at 10:09 AM
WAP to calculate commison earned by a agency on the following tour pacages. trip to goa-15% trip to mumbai-25% ... View Questions/Answers

java  December 11, 2010 at 9:56 AM
WAP a program to fcalculate commisson earned by a travel agency on the following tour pacages trip to goa-15% trip to mumbai-25% ... View Questions/Answers

Sum of seris  December 11, 2010 at 9:42 AM
Program to find the sum of the following series using a function declaration. sum=x-(xxx)/3!+(xxxxx)/5!-(xxxxxxx)/7!+.....(xx....x)/n!. Where n and x are entered from the keyboard. ... View Questions/Answers

fibonacci series  December 11, 2010 at 9:27 AM
Program to print the first n fibonacci numbers using function.the program must use InputStreamReader and BufferedReader. ... View Questions/Answers

Header file  December 11, 2010 at 8:47 AM
when we use, Scanner input=new Scanner(System.in); this statement in a java program,which header filemust be imported to the program? ... View Questions/Answers

Calender code  December 11, 2010 at 12:53 AM
how can i add 3 days to current date ? i am using a script from jotform which has a calender field. the system shows the current date, but i want to add 3 days to the current date for the purpose that the client is only able to select dates 3 days after the current date. eg. if today is ... View Questions/Answers

Please help in drawing Flowchart  December 10, 2010 at 11:42 PM
we found that the student names with marks in a text file the marks decreases significantly. when exams conducted fast 4 times.THe first column is the student name and the second column is marks in tests.What we need to find is which student marks decreases most often that is 3 times or 4 times. ... View Questions/Answers

NSUserDefaults Example  December 10, 2010 at 10:56 PM
Hi, Give me code of NSUserDefaults to store and retrieve the some data. Thanks ... View Questions/Answers

MPVolumeView Example code  December 10, 2010 at 10:52 PM
Hi, Please let's know how I can add MPVolumeView control in my iPhone application? Thanks ... View Questions/Answers

Interface  December 10, 2010 at 7:59 PM
In JDBC , where are the source code of methods which are the member of recordset and other interfaces of JDBC packege. ... View Questions/Answers

JSP Project  December 10, 2010 at 7:56 PM
I want to get a code for login page with user interface in JSP for my web application. Please help me. ... View Questions/Answers

java  December 10, 2010 at 7:32 PM
where i write java programme and how do i execute the programme ... View Questions/Answers

how formBackingObject() method will work.  December 10, 2010 at 7:26 PM
How the formBackingObject method will behave ? ... View Questions/Answers

Inheritance, abstract classes  December 10, 2010 at 6:43 PM
Hi. I wish to thank you for answering my last question, but I had figured it out, but the GUI was very helpful. I could use someones help again with abstracts & a demo account. I know you will be thinking how could I write the code but not get the simplest part.I'm getting a little lost with ... View Questions/Answers

checkbox custom tag creation in jsf  December 10, 2010 at 5:32 PM
how to create check box custom tags with the following functionality: 1.there must be two checkboxes 2.when the first box is checked it must populate the names of bikes,when the second is checked names of cars must be populated in the same list 3.when both are checked names of bikes as we... View Questions/Answers

JSP,DB,SERVLET  December 10, 2010 at 5:12 PM
hi thank you for your reply.With this code i can insert the data successfully into database but In ajax.jsp once i give the name;;;age and city are not automatically fetched......instead sumthing get filled in dose textfields....can u help me?????? Name: Ram I entered dtls of ram into da... View Questions/Answers

JSP,DB,SERVLET  December 10, 2010 at 4:38 PM
I have a jsp page called page1.jsp with 3 text fields name,phone ,city.i populated these datas into a database table through servlet (page1servlet.java) and bean(page1bean.java).I have another jsp page(display.jsp) with 4 fields name, city ,phone.Once the user enter the name, city and phone shoul... View Questions/Answers

sql express connection  December 10, 2010 at 4:27 PM
Sir, I am using ms-SQL server 2005 as database. i have .mdf file and .ldf database base files with me. How to connect to these files in my web application. I am using type-4 drivers... Please let me know.... thanks, Regards, VASU. ... View Questions/Answers

Read data from Excel and insert in to DB and export data from DB to Excel  December 10, 2010 at 4:23 PM
Read data from Excel and insert in to DB and export data from DB to Excel Hi, I need to read the data from excel and I need to insert the same in to DB (vice versa). I have an Excel sheet contains 10 Telephone numbers, I have customer database in which I have stored all customer i... View Questions/Answers

JSP,DB,SERVLET  December 10, 2010 at 4:22 PM
hi thank you for your reply.With this code i can insert the data successfully into database but once i give submit button in insert.jsp it should be forwarded to ajax.jsp.In ajax.jsp once i give the name;;;age and city are not automatically fetched......can u help me?????? And can u send ... View Questions/Answers

java code  December 10, 2010 at 2:01 PM
hi any one please tell me the java code to access any link i mean which method of which class is used to open any link in java program. ... View Questions/Answers

java  December 10, 2010 at 1:35 PM
hi im new to java plz suggest me how to master java....saifjunaid@gmail.com ... View Questions/Answers

JFreeChart- Display coordinate value .  December 10, 2010 at 12:06 PM
How to Mark Coordinte value on top of the bar ? ... View Questions/Answers

CLLocation latitude longitude  December 10, 2010 at 11:41 AM
Hi, I am developing an location based application. I want to get the current location in the Latitude and Longitude format. Please let's know how to get latitude longitude from CLLocation object? Give me the code example of converting CLLocation object into Latitude and Longitude.... View Questions/Answers

JSP,DB,SERVLET  December 10, 2010 at 11:31 AM
I have a jsp page with 3 text fields name,age ,city.i populated these datas into a database table.I have another jsp page with 4 fields name, city , age and phone.Once the user enter the name, city and age should be automatically populated from database throush servlet..Can u give me the code!!!!... View Questions/Answers

parse a file into primitive binary format  December 10, 2010 at 6:12 AM
Hi, I need help converting an audio file or any other file to its primitive binarty format, and when I read the inputstream I find it some integers and I don't know its binary representation. please I need any help or tip. regards thanks ... View Questions/Answers

Netbeans Question need help desperately!!  December 10, 2010 at 5:02 AM
Ok here is my code- public class RollDie2 { public static void main(String[] args) { Random randomNumber = new Random(); int[][] frequency = new int[9][9]; int die1 = 0; int die2 = 0; for (int roll = 1; roll <= 64000; roll++) { die1 = randomNumber.nextIn... View Questions/Answers

reverse words in a string(words seperated byone or more spaces)  December 10, 2010 at 2:19 AM
reverse words in a string(words separated by one or more spaces) ... View Questions/Answers

static keyword with real example  December 9, 2010 at 10:36 PM
static keyword with real examplestrong text ... View Questions/Answers

cookies  December 9, 2010 at 10:24 PM
hi, i m vishal want a simple example of cookies. ... View Questions/Answers

Matrix multiplication  December 9, 2010 at 9:45 PM
program to read the elements of the given two matrices of order n*n and to perform the matrix multiplication. ... View Questions/Answers

Standard deviation  December 9, 2010 at 9:40 PM
program to calculate the standard deviation of an array of values.the array elements are read from terminal.use function to calculate standard deviation and mean. ... View Questions/Answers

problem in validation  December 9, 2010 at 9:18 PM
sir/madam, i m using struts-1.3.10. i m getting a problem my properties file is not found.... while i hav configuired it in struts-config.xml file, like thanks n regards himanshu ... View Questions/Answers

java  December 9, 2010 at 8:58 PM
code for creating smileys ... View Questions/Answers

Import My Own Package (Automatically)  December 9, 2010 at 7:16 PM
How can I import my own package in every java program ( automatically )....? For example :- java.lang.String... automatically imported, we need not to import it.... ... View Questions/Answers

JBOSS Startup Problem - StandardWrapper.Throwable java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394)  December 9, 2010 at 6:19 PM
Hi Gurus!!!! :D.. I am new to Rose India and also new to JBOSS. I have a problem in JBOSS Starting. I am using JBOSS -4.0.5 version, Java JDK 1.6.0_10 and connecting to Sybase database. i have downloaded the JBOSS war file and extracted in to my loc... View Questions/Answers

array ollection with in script  December 9, 2010 at 5:37 PM
my coding is ... View Questions/Answers

UIImage width and height  December 9, 2010 at 5:23 PM
Hi, How I can find the width and height of UIImage object. Let's know an example code for finding UIImage width and height. Thanks ... View Questions/Answers

iphone handle orientation change  December 9, 2010 at 4:01 PM
How can i handle the orientation change in iPhone / iPad application? Please suggest. Thank in Advance! ... View Questions/Answers

script for data  December 9, 2010 at 3:31 PM
how to write a simple script to display a selected data from list in flex applicatin?. ... View Questions/Answers

multiple file upload at a time like gmail  December 9, 2010 at 3:04 PM
I want to upload multiple files at a time like gmail. is there any possiblity/solution to do that? ... View Questions/Answers

home page  December 9, 2010 at 2:04 PM
Develop home page using applets and swings ... View Questions/Answers

Java question_Naresh  December 9, 2010 at 1:23 PM
hi I have java file and i have extracted all the comment lines present in that file using getcommentlist(AST) function. Now i have read this comment list line by line and search for any executable lines being commented in the code. Can anyone help me out to do this? I am doing all this in Java e... View Questions/Answers

hibernate and struts integration in ECLIPSE  December 9, 2010 at 12:55 PM
hi, I saw the complete tutorial of hibernate in your website... But i found nothing for hibernate and struts integration in ECLIPSE and not using ANT Can any One pls Help.. Thanks in Advance ... View Questions/Answers

how to give validation using javascript in swing  December 9, 2010 at 12:54 PM
how to give validation using javascript in swing....... can somebody give code for username and password validation using javscript and swing ... View Questions/Answers

how to move curosr from one text field to another automatically when the first textfield reaches its maximum length  December 9, 2010 at 12:51 PM
how to move curosr from one text field to another automatically when the first textfield reaches its maximum length ... View Questions/Answers

Need Jar in the JPA examples  December 9, 2010 at 12:49 PM
JPA - tutorial is good, very easy to understand and simple. But to run the examples, the jar/helping files are needed. and how Hibernates are used in the JPA example? Thnaks Abhijit Das ... View Questions/Answers

DMCA.com