Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

web page  December 16, 2010 at 10:29 AM
1.Create a web page with the following using HTML i) To embed an image map in a web page ii) To fix the hot spots iii) Show all the related information when the hot spots are clicked. ... View Questions/Answers

Exception Handling  December 16, 2010 at 9:48 AM
Hi, I really appreciate the help I have gotten,I have 3 more problems to go by Monday.I will need help with all three. I hope someone is willing to help. So far I have found this web site to be the best for help, other sites I have tried only look down at you and give you attitude.I got sick mid ... View Questions/Answers

how tohow to create a table with primary key and foreign keyhow to create a table with primary key and foreign key  December 16, 2010 at 8:50 AM
how to create a table using java language with primary key and foreign key ... View Questions/Answers

Advertisement

Remember Me  December 16, 2010 at 7:49 AM
How to Create a PHP AutoLogin ('Remember Me') Feature using Cookies???? ... View Questions/Answers

Help with a maintenance tracking program.  December 16, 2010 at 1:48 AM
The Pace Trucking Company has hired you to improve its maintenance tracking. After a certain combination of miles and engine hours, truck engines are required to have preventative maintenance. The trucking company would like a program to allow the user to enter the truck's data and then display w... View Questions/Answers

Binary Search Tree  December 16, 2010 at 1:40 AM
Question-1 ) Modify the BinarySearchTree class so that the iterators are fail-fast.Test your class with amain method ? Question-2 ) Modify the BinarySearchTree class so that the BinarySearchTree objects are serializable.Test your class with a project that ... View Questions/Answers

plz Help me find the correct programs answers  December 16, 2010 at 12:17 AM
Create a washing machine class with methods as switchOn, acceptClothes, acceptDetergent, switchOff. acceptClothes accepts the noofClothes as argument & returns the noofClothes Create a calculator class which will have methods add, multiply, divide & subtract... View Questions/Answers

Plz Provide correct program code for all questions.  December 15, 2010 at 11:58 PM
Write a program to find the difference between sum of the squares and the square of the sums of n numbers? Develop a program that accepts the area of a square and will calculate its perimeter. Develop the program calculateCylinderVolume., which accepts rad... View Questions/Answers

Java code  December 15, 2010 at 10:32 PM
Write a function Model-of-Category for a Tata motor dealers, which accepts category of car customer is looking for and returns the car Model available in that category. the function should accept the following categories "SUV", "SEDAN", "ECONOMY", and "MINI" which in turn returns "TATA SAFARI" , ... View Questions/Answers

Java code  December 15, 2010 at 10:32 PM
Write a program which performs to raise a number to a power and returns the value. Provide a behavior to the program so as to accept any type of numeric values and returns the results. ... View Questions/Answers

Java code  December 15, 2010 at 10:31 PM
Create Vehicle having following attributes: Vehicle No., Model, Manufacturer and Color. Create truck which has the following additional attributes:loading capacity( 100 tons‚?¶).Add a behavior to change the color and loading capacity. Display the updated truck details. ... View Questions/Answers

Java code  December 15, 2010 at 10:31 PM
Create Book having following attributes: Book ID, Title, Author and Price. Create Periodical which has the following additional attributes: Period (weekly, monthly etc...) .Add a behavior to modify the Price and the Period of the periodical. Display the updated periodical details. ... View Questions/Answers

Java code  December 15, 2010 at 10:28 PM
Create Product having following attributes: Product ID, Name, Category ID and UnitPrice. Create ElectricalProduct having the following additional attributes: VoltageRange and Wattage. Add a behavior to change the Wattage and price of the electrical product. Display the updated ElectricalProduct d... View Questions/Answers

Java code  December 15, 2010 at 10:27 PM
Create an Employee class which has methods netSalary which would accept salary & tax as arguments & returns the netSalary which is tax deducted from the salary. Also it has a method grade which would accept the grade of the employee & return grade. ... View Questions/Answers

Java code  December 15, 2010 at 10:27 PM
Create a Bank class with methods deposit & withdraw. The deposit method would accept attributes amount & balance & returns the new balance which is the sum of amount & balance. Similarly, the withdraw method would accept the attributes amount & balance & returns the new ba... View Questions/Answers

Java code  December 15, 2010 at 10:25 PM
Create a class called Student which has the following methods: i. Average: which would accept marks of 3 examinations & return whether the student has passed or failed depending on whether he has scored an average above 50 or not. ii. Inputname: which would accept the name of ... View Questions/Answers

Java code  December 15, 2010 at 10:24 PM
Create a calculator class which will have methods add, multiply, divide & subtract ... View Questions/Answers

Java code  December 15, 2010 at 10:21 PM
Create a washing machine class with methods as switchOn, acceptClothes, acceptDetergent, switchOff. acceptClothes accepts the noofClothes as argument & returns the noofClothes ... View Questions/Answers

Exception Handling  December 15, 2010 at 9:14 PM
Hi, I really appreciate the help I have gotten,I have 3 more problems to go by Monday.I will need help with all three. I hope someone is willing to help. So far I have found this web site to be the best for help, other sites I have tried only look down at you and give you attitude.I got sick mid ... View Questions/Answers

how to display image and text in single jsp page from the mysql database  December 15, 2010 at 6:37 PM
hello please help me to display the image and text in single jsp page from mysql database if have any reference code please send me Thanks in advance Regards, venkateswararao D ... View Questions/Answers

Image slider in JQuery  December 15, 2010 at 5:54 PM
Hi sir I want to create a image slider in jQuery. Please tell me the name of the best image slider plug-in available. Mention code with your reply. ... View Questions/Answers

check username availability using JSP & JQuery  December 15, 2010 at 5:39 PM
Hi sir I want check username availability using JSP & JQuery. Please add code with your answer. Thnks in advance. ... View Questions/Answers

java  December 15, 2010 at 5:29 PM
Create a washing machine class with methods as switchOn, acceptClothes, acceptDetergent, switchOff. acceptClothes accepts the noofClothes as argument & returns the noofClothes ... View Questions/Answers

Auto grow Text Area using jQuery plug-in  December 15, 2010 at 5:02 PM
Hi sir How can we make a textarea auto grow ? What is the name of the plug-in used for auto grow text area. Please mention code with your reply. ... View Questions/Answers

jaVA INT  December 15, 2010 at 4:29 PM
Read a text file and precede the line with the line number and write it to another new text file. For example if you create a file Source.txt which has the following contents: Hello there I am supposed to have line numbers preceding me. Is it there ? shall be written to Destinatio... View Questions/Answers

Crop image Using JQuery, servlet or JSP.  December 15, 2010 at 3:59 PM
Hi sir I need the code of Cropping image using JQuery with the help of servlet or JSP. I need both the code Client side as well as of server side. Please Help me. ... View Questions/Answers

what are the components of java platform ?  December 15, 2010 at 3:56 PM
what are the components of java platform ? plz if any1 perfectly know help me to override my conflicts.plz explain briefly. ... View Questions/Answers

java  December 15, 2010 at 3:48 PM
Print the number of lines and words in a given text file. You can create your own text file. ... View Questions/Answers

How to write Java Program  December 15, 2010 at 3:45 PM
how to write a program to find average of 5 student marks . ... View Questions/Answers

Find Browser & it's version using jQuery  December 15, 2010 at 3:13 PM
Hi sir I heard that JQuery have some method which can be used to find the Browser name & its version. I need the code which checks the browser and if it is "Mozilla", it will show its version & & display some message in alert box. Please provide me code ASAP. <... View Questions/Answers

i dont no how to solve it pls  December 15, 2010 at 3:09 PM
Calculate and display the sum of all prime number from 1 to 100 covert in java system codes ... View Questions/Answers

socket programming  December 15, 2010 at 2:33 PM
how to create server socket in web service...it will read parameter from file ... View Questions/Answers

Struts 2 radio button value problem  December 15, 2010 at 2:23 PM
When I use s:radio tag in struts 2, I'm not able to get the selected value using document.getElementById('radioButtonName').value.(Note :- I'm getting proper value in java from jsp) It always gives first radio option's value as the value for any option selected. Ex: When 'Yes' is ... View Questions/Answers

Play Lyrics on media player  December 15, 2010 at 1:12 PM
how to play lyrics on media player(MIDlet) while song is playing in background..its bit urgent... Thanks ... View Questions/Answers

How can we implement Pop-up in JQuery without Plugin?  December 15, 2010 at 1:05 PM
Hi Sir How can we Implement pop-up in JQuery without using plug-in. Please provide me code with detailed answer. Thanks in advance. ... View Questions/Answers

web application  December 15, 2010 at 1:02 PM
Develop a web application to print back the inputs from the user(name, date of birth, address). The solution should have a JSP file which accepts the user‚??s name and sent to Servlets which puts the name in the session and which should be forwarded to another servlet / JSP, which shall print the... View Questions/Answers

Implementing Digits restriction Using JQuery  December 15, 2010 at 12:50 PM
Hi Sir I have following field in my html form : <div>Age<input type="text" name="quantity" id="quantity" /></div> I want to implement two things : 1 if the letter is not digit then display error and don't type anyth... View Questions/Answers

Form validation Using Jquery Plugin  December 15, 2010 at 12:37 PM
Hello sir I want to implement form validation using JQuery Plug-in. My code is : <html> <style type="text/css"> * { font-family: Verdana; font-size: 11px; line-height: 14px; } .submit { margin-left: 125px; margin-top: 10px;} .label { ... View Questions/Answers

how to read and write an xml file using java  December 15, 2010 at 12:37 PM
Hi Can anyone help me how to read and write an xml file which has CData using java ... View Questions/Answers

Inform user to enable JavaScript  December 15, 2010 at 12:19 PM
Hi sir How can we inform user to turn on JavaScript ? Because if we have implemented validation etc with JavaScript , then it will not work. What option we have when this situation occurs ? Please mention code with your answer ? ... View Questions/Answers

header files  December 15, 2010 at 12:12 PM
do you have a all header files of java? ... View Questions/Answers

i want horizontal mlm tree structure code in php with jquery or Ajax  December 15, 2010 at 12:01 PM
i need horizontal mlm tree structure code in php with jquery or Ajax... in advance.. Thank you:) ... View Questions/Answers

how to write greater than symbol in a file using java  December 15, 2010 at 11:48 AM
Hello I want to write < and > symbol in a file but its coming like > and < Please help me ... View Questions/Answers

A Simple program  December 15, 2010 at 11:30 AM
Hi I have written the following code: class FirstRectangle{ public int rectArea(int l,int b){ int farea = l*b; System.out.println("Required Area::"+farea); return farea; }//method }//class class SecondRectangle{ public int area(int l, int b){ ... View Questions/Answers

jsp form  December 15, 2010 at 11:19 AM
hi i have one excuted jsp form.and in that the data should be dispaly on another jsp form.please help me thanks in advance ... View Questions/Answers

Changing background color using JavaScript  December 15, 2010 at 11:02 AM
Hi Sir Is there any way to change the background color using JavaScript ? Please mention code with your answer. ... View Questions/Answers

connect ftp from java program  December 15, 2010 at 10:43 AM
Hi, I need to connect to the ftp and get the files through a java program.. I wrote the following code... import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPFile; import org.apache.commons.io.FileUtils; import java.io.IOException; publ... View Questions/Answers

connect ftp from java program  December 15, 2010 at 10:43 AM
Hi, I need to connect to the ftp and get the files through a java program.. I wrote the following code... import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPFile; import org.apache.commons.io.FileUtils; import java.io.IOException; publ... View Questions/Answers

jsp:forward tag ussage  December 15, 2010 at 10:33 AM
can you give me example of how to use jsp:forward tag... i intend to call action class ... View Questions/Answers

sourse code pls  December 15, 2010 at 10:06 AM
customer registration code in java? ... View Questions/Answers

Thread for reading txt file  December 15, 2010 at 9:02 AM
how to use 3 thread to read 3 txt file? To create three threads for reading the file and three threads for getting the strings out of the queue and printing them. thanks ... View Questions/Answers

Develop application for announcements in a workplace  December 15, 2010 at 7:58 AM
Hi, If I wanted to create a mobile application for announcements in a workplace using Android and eclipse, where do I start? Given that I have already installed Android and eclipse and that I know Java basics. Reply needed ASAP :) Thanks! ... View Questions/Answers

Simple ATM Java Code...  December 15, 2010 at 7:20 AM
You are required to write a Graphical User Interface that simulates an ATM by building on the program you wrote for the midterm exam. Specifically, you will be reading customer information into an array list, following which your ATM becomes operational for use by your customers for checking a... View Questions/Answers

Regular Expression Help Help HELP!!!!  December 15, 2010 at 1:43 AM
HI all I am very new to java, but i have this problem i got a string e.g Courses['07001'].Title = "International Students 1"; So i need to extract only the "international Students", i did that by using this expression String regex = "Courses\[\'[^\']+\'\]\.Title *= *\"(... View Questions/Answers

Servlet Counter  December 14, 2010 at 9:37 PM
public class SimpleCounter extends HttpServlet{ int counter = 0; public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter pw = response.getWriter(); ... View Questions/Answers

Password need to encrypt while inserting into DB and need to decrypt while responding to forgot password  December 14, 2010 at 7:17 PM
Hi, I need the functionality in JSP to encrypt the password while inserting into DB and need decrypt logic while responding to forgot password. please help me out. Regards, GRR ... View Questions/Answers

output error  December 14, 2010 at 6:48 PM
this is my program import java.io.*; public class separate { public static void main(String[] args)throws IOException { BufferedReader keyin=new BufferedReader(new InputStreamReader(System.in)); String x; int ct=0; String str; System.out.pri... View Questions/Answers

Find Cylinder area By inputting value from user  December 14, 2010 at 6:35 PM
Hello Sir I need the code for calculating the area of a cylinder in which it asks radius value from user and then calculate area using this radius value. Please provide me complete code. Hope you will not disappoint me. ... View Questions/Answers

java code  December 14, 2010 at 6:14 PM
Write a function Model-of-Category for a Tata motor dealers, which accepts category of car customer is looking for and returns the car Model available in that category. the function should accept the following categories "SUV", "SEDAN", "ECONOMY", and "MINI" which in turn returns "TATA SAFARI" , ... View Questions/Answers

java code  December 14, 2010 at 6:13 PM
Write a program which performs to raise a number to a power and returns the value. Provide a behavior to the program so as to accept any type of numeric values and returns the results. ... View Questions/Answers

java code  December 14, 2010 at 6:13 PM
Create Vehicle having following attributes: Vehicle No., Model, Manufacturer and Color. Create truck which has the following additional attributes:loading capacity( 100 tons‚?¶).Add a behavior to change the color and loading capacity. Display the updated truck details. ... View Questions/Answers

java code  December 14, 2010 at 6:12 PM
Create Book having following attributes: Book ID, Title, Author and Price. Create Periodical which has the following additional attributes: Period (weekly, monthly etc...) .Add a behavior to modify the Price and the Period of the periodical. Display the updated periodical details ... View Questions/Answers

java code  December 14, 2010 at 6:12 PM
Create Product having following attributes: Product ID, Name, Category ID and UnitPrice. Create ElectricalProduct having the following additional attributes: VoltageRange and Wattage. Add a behavior to change the Wattage and price of the electrical product. Display the updated ElectricalProduct d... View Questions/Answers

java code  December 14, 2010 at 6:09 PM
Create an Employee class which has methods netSalary which would accept salary & tax as arguments & returns the netSalary which is tax deducted from the salary. Also it has a method grade which would accept the grade of the employee & return grade. ... View Questions/Answers

java code  December 14, 2010 at 6:09 PM
Create a Bank class with methods deposit & withdraw. The deposit method would accept attributes amount & balance & returns the new balance which is the sum of amount & balance. Similarly, the withdraw method would accept the attributes amount & balance & returns the new ba... View Questions/Answers

java code  December 14, 2010 at 6:08 PM
Create a class called Student which has the following methods: i. Average: which would accept marks of 3 examinations & return whether the student has passed or failed depending on whether he has scored an average above 50 or not. ii. Inputname: which would accept the name of ... View Questions/Answers

java code  December 14, 2010 at 6:08 PM
Create a calculator class which will have methods add, multiply, divide & subtract ... View Questions/Answers

java code  December 14, 2010 at 6:07 PM
Create a washing machine class with methods as switchOn, acceptClothes, acceptDetergent, switchOff. acceptClothes accepts the noofClothes as argument & returns the noofClothes ... View Questions/Answers

java code  December 14, 2010 at 6:06 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 i... View Questions/Answers

java code  December 14, 2010 at 6:05 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 code  December 14, 2010 at 6:05 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 code  December 14, 2010 at 6:04 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

java code  December 14, 2010 at 6:03 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

java code  December 14, 2010 at 6:03 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

java code  December 14, 2010 at 6:02 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

java code  December 14, 2010 at 6:01 PM
Develop a program that accepts the area of a square and will calculate its perimeter ... View Questions/Answers

java code  December 14, 2010 at 6:00 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

Test hidden element using JQuery  December 14, 2010 at 5:29 PM
Suppose i have an element which i am hiding and showing, using .hide(), .show() or .toggle().How do you test to see if that element is currently hidden or visible on the screen? Please provide code with your answer. ... View Questions/Answers

Select all childs except first using JQuery  December 14, 2010 at 5:14 PM
Hello Sir I Have following code : <ul> <li>First item</li> <li>Second item</li> <li>Third item</li> </ul> And i need to add a class to 2nd & 3rd element or child as follows : ... View Questions/Answers

hibernate update problem  December 14, 2010 at 4:19 PM
HI, I integrated the struts and hibernate and wrote the following query in the databean to update the user table login time SessionFactory sessionFactory = (SessionFactory)context.getAttribute(HibernatePlugin.KEY_NAME); Session session = sessionFactory.open... View Questions/Answers

Cursor hiding in jQuery  December 14, 2010 at 3:55 PM
Hello sir I want to hide the mouse cursor in entire web page. I heard from one of my friend that it is possible using JQuery. Please give me code ? ... View Questions/Answers

Connection pooling  December 14, 2010 at 3:44 PM
Sir, In my project i want to implement connection pooling with ms-sql server 2005. i wrote the code in JSP like this... <% Connection con=DbCon.getConnection(); Statement stmt =... View Questions/Answers

Last modified time of a webpage  December 14, 2010 at 3:38 PM
how can we get the last modified time of a webpage using java? ... View Questions/Answers

java  December 14, 2010 at 2:21 PM
what is the difference between vb and vb.net? ... View Questions/Answers

java  December 14, 2010 at 2:21 PM
what is the difference between vb and vb.net? ... View Questions/Answers

java  December 14, 2010 at 2:21 PM
what is the difference between vb and vb.net? ... View Questions/Answers

java  December 14, 2010 at 2:20 PM
hoe to find largest number without using array ... View Questions/Answers

 December 14, 2010 at 2:19 PM
what is the difference betwen vb and vb.net? ... View Questions/Answers

 December 14, 2010 at 2:19 PM
what is the difference betwen vb and vb.net? ... View Questions/Answers

java  December 14, 2010 at 2:13 PM
strong textwhat to do to put arry in descendind order using sort()? ... View Questions/Answers

Siverlight JSON  December 14, 2010 at 2:13 PM
how to use JSON in silverlight, i need to populate dynamic data by using JSON CAN ANY HELP ME ... View Questions/Answers

java  December 14, 2010 at 2:13 PM
strong textwhat to do to put arry in descendind order using sort()? ... View Questions/Answers

inhertence  December 14, 2010 at 2:11 PM
how many types of inheritence in java according to sun specification? ... View Questions/Answers

HACKING  December 14, 2010 at 2:06 PM
how to hack gmail? ... View Questions/Answers

java  December 14, 2010 at 1:59 PM
how to print special series using java literals ... View Questions/Answers

how to find square and cube of five number  December 14, 2010 at 1:58 PM
how to find square and cube of five number ... View Questions/Answers

About Store Procedure  December 14, 2010 at 12:02 PM
Create Procedure CMTSPCasesByWorkstream AsBEGIN DECLARE @paramdateincrement int = 24 DECLARE @paramstartdate datetime = Cast((Cast(dateadd(day,-7,cast(getdate() as Date)) as varchar) + ' 23:59:59') as Datetime) -- 'yyyy-mm-dd hh:mm:ss' Declare @start... View Questions/Answers

How to take control of diffrent system or computer  December 14, 2010 at 2:45 AM
I want to connect to different computers and want have full control remotely. How can java help me in this? ... View Questions/Answers

plz plz rply as soon as possible  December 14, 2010 at 12:12 AM
by using c programs * * * * * s s s s s * s s o s s s s s s s s s s s s s s s s s s s s s s s ... View Questions/Answers

plz plz plz inform me as soon as possible  December 14, 2010 at 12:03 AM
``by using c programs how to type * * * * * * ... View Questions/Answers

DMCA.com