Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

java  November 5, 2011 at 9:22 AM
`What are the 5 method declared in stack interface in java? The following table shows a series of stack operation and their effects on an initially empty stack ‚??St‚?? of integer.complete the table. operation Push(10) Push(15) Pus... View Questions/Answers

JAVA  November 5, 2011 at 9:07 AM
hi sir, i want a code for login frame with database connectivity.if we logged in it shows a six tab with different name,it shows a different image for different tab. During login shows the six check box,while logging select the check box for what we want,after logged in shows tabs... View Questions/Answers

JAVA  November 5, 2011 at 9:06 AM
hi sir, i want a code for login frame with database connectivity.if we logged in it shows a six tab with different name,it shows a different image for different tab. During login shows the six check box,while logging select the check box for what we want,after logged in shows tabs... View Questions/Answers

Advertisement

JAVA  November 5, 2011 at 9:06 AM
hi sir, i want a code for login frame with database connectivity.if we logged in it shows a six tab with different name,it shows a different image for different tab. During login shows the six check box,while logging select the check box for what we want,after logged in shows tabs... View Questions/Answers

java  November 5, 2011 at 9:00 AM
01)what is the result of the following expressions. a) System.out.println(√Ę‚?¨Ň?1√Ę‚?¨¬?2+3); b) System.out.println(19/9) c) System.out.println(0x10+10+010); ... View Questions/Answers

java  November 5, 2011 at 8:08 AM
sir Consider the following code class A { A(int x) {} public static void main(String arg[]) { B b=new B(); }} class B extends A {} What will happen when you compile and run this code? ... View Questions/Answers

java  November 4, 2011 at 10:41 PM
how we can display date in text field? ... View Questions/Answers

java  November 4, 2011 at 10:11 PM
Take user input of a number in range 0-999. Convert the decimal number to Roman equivalent and display the result.. ... View Questions/Answers

Reg: No class def founderror: org/apache/log4j/Logger  November 4, 2011 at 6:48 PM
Hi All, I have created my application as executable jar file. When i am running that jar file using the command "java -jar application.jar" i am getting the following exception "No class def found error: org/Apache/log4j/Logger". I am using log4j.jar and log4j-1.2.13. Even i used ... View Questions/Answers

Modify the sales tax program to accept an arbitrary number of prices, total them, calculate the sales tax and print the total amount.  November 4, 2011 at 5:03 PM
Modify the sales tax program to accept an arbitrary number of prices, total them, calculate the sales tax and print the total amount.... View Questions/Answers

In Java  November 4, 2011 at 4:45 PM
how to avoid the class from extending other class in java ... View Questions/Answers

String to date with no format  November 4, 2011 at 4:10 PM
Hii.. I want to convert a string into a date .. this is simple .. but i want to do it without knowing the date format.. Here is a situation .. say i hav 100 dates .. and all are in the same format. but i want to write a java program to find out dis format for me. the result of this program shld... View Questions/Answers

java  November 4, 2011 at 8:07 AM
dear sir providing suitable example describe the Scalar,Linear and Non Linear data structures for java. prepare a table for advantages and disadvantages of each type of the above. ... View Questions/Answers

java  November 4, 2011 at 8:05 AM
dear sir providing suitable example describe the Scalar,Linear and Non Linear data structures for java. prepare a table for advantages and disadvantages of each type of the above. ... View Questions/Answers

java  November 3, 2011 at 10:10 PM
is java pure object orianted? ... View Questions/Answers

Hibernate  November 3, 2011 at 8:31 PM
What is HibernateContainer? ... View Questions/Answers

Servlet  November 3, 2011 at 8:29 PM
can i override the service method? ... View Questions/Answers

jquery post data error  November 3, 2011 at 4:56 PM
getting post data error in JQuery ..any idea why? ... View Questions/Answers

uitableviewcell margin  November 3, 2011 at 4:26 PM
How to add the desired margin to UITableViewCell in iPhone application? ... View Questions/Answers

hibernate  November 3, 2011 at 3:01 PM
Is there any other way to call procedure in hibernate other than named query????? if we are using session object to get the connection then why hibernate we can directly call by using a simple java class??????? please reply !!!!!! Thank you ... View Questions/Answers

java  November 3, 2011 at 2:43 PM
dear sir write an application that prints the following diamond shape.you may use output statement that print a single aterisk(*), a signle space or a single new line character.Maximize your use of repetition ,and minimize the number of output statements. ... View Questions/Answers

java  November 3, 2011 at 1:08 PM
dear sir write an application that prints the following diamond shape.you may use output statement that print a single aterisk(*), a signle space or a single new line character.Maximize your use of repetition ,and minimize the number of output statements. ... View Questions/Answers

jspusebean  November 3, 2011 at 12:45 PM
i want to delete a row from table by useing jspusebean tag ,i tryed but i wont work,i have one class contain delete method,and i have jsp delete.jsp when i enter id then i click on button the metod willcall and delte that row ,but it not work can u give code. ... View Questions/Answers

uitableview edit done button  November 3, 2011 at 12:30 PM
How to add Edit / Done button in UITableView with an action on click? ... View Questions/Answers

jsp usebean  November 3, 2011 at 12:21 PM
i want post nt sample code but it get design wht can i do ,i want show u my code,but in prview it show design that is problem ... View Questions/Answers

uitableview manually delete row  November 3, 2011 at 11:46 AM
uitableview manually delete row ... View Questions/Answers

xcode unknown class in interface builder file  November 3, 2011 at 11:30 AM
What is the unknown file in xib or how can i find and remove such kind of exception from my file.. "xcode unknown class in interface builder file" ... View Questions/Answers

Problem coming up with program? Do not know where to start!  November 3, 2011 at 12:51 AM
Write a program to simulate 1000 trials, each of which consists of tossing a fair coin 10 times and counting the number of heads. For each n = 0; : : : ; 10, your program should print the proportion of trials resulting in exactly n heads. The output from my program is given below: 0.0000 0.0130 0... View Questions/Answers

Problem coming up with program? Do not know where to start!  November 3, 2011 at 12:51 AM
Write a program to simulate 1000 trials, each of which consists of tossing a fair coin 10 times and counting the number of heads. For each n = 0; : : : ; 10, your program should print the proportion of trials resulting in exactly n heads. The output from my program is given below: 0.0000 0.0130 0... View Questions/Answers

Problem coming up with program? Do not know where to start!  November 3, 2011 at 12:51 AM
Write a program to simulate 1000 trials, each of which consists of tossing a fair coin 10 times and counting the number of heads. For each n = 0; : : : ; 10, your program should print the proportion of trials resulting in exactly n heads. The output from my program is given below: 0.0000 0.0130 0... View Questions/Answers

java  November 2, 2011 at 9:51 PM
state whether each of the following is true or false .explain why 01)all variables must be given a type when they are declared. 02)by convention,class names begin with an uppercase first letter and all subsequent words in the name begin with a capital first letter 03)the ... View Questions/Answers

java  November 2, 2011 at 7:52 PM
specify the most suitable data type in java to declare following? a)number of products of type x b)credit limit of a customer c)age of the customer d)name of a product e)is credit limit exceeded f)no of subjects in the course g)name of the l... View Questions/Answers

java  November 2, 2011 at 7:22 PM
What is the difference between sorting and searching? List 3 different types of sorting techniques? ... View Questions/Answers

java  November 2, 2011 at 7:21 PM
Consider the following stack of characters,where stack is allocated 8 memory cells. Stack:a,9,e,,,,,_, Give the contents of the stack at the end of the each operation given below: i).pop() ii).pop() iii).push(e) iv).push(1) v).pop() vi).push(i) vii).push(0) viii).pop() ix).push(... View Questions/Answers

java  November 2, 2011 at 7:21 PM
Consider the following stack of characters,where stack is allocated 8 memory cells. Stack:a,9,e,,,,,_, Give the contents of the stack at the end of the each operation given below: i).pop() ii).pop() iii).push(e) iv).push(1) v).pop() vi).push(i) vii).push(0) viii).pop() ix).push(... View Questions/Answers

releated to project  November 2, 2011 at 5:54 PM
hi hostel management is my project please send me code for showing data and "date" type datatype is not taken by oracle 10g .we use javanetbeans and oracle 10g how i can solve our problem ... View Questions/Answers

releated to project  November 2, 2011 at 5:54 PM
hi hostel management is my project please send me code for showing data and "date" type datatype is not taken by oracle 10g .we use javanetbeans and oracle 10g how i can solve our problem ... View Questions/Answers

releated to project  November 2, 2011 at 5:54 PM
hi hostel management is my project please send me code for showing data and "date" type datatype is not taken by oracle 10g .we use javanetbeans and oracle 10g how i can solve our problem ... View Questions/Answers

releated to project  November 2, 2011 at 5:54 PM
hi hostel management is my project please send me code for showing data and "date" type datatype is not taken by oracle 10g .we use javanetbeans and oracle 10g how i can solve our problem ... View Questions/Answers

java basics  November 2, 2011 at 5:48 PM
Sir i want to searching through name and id in java. and i want to show all the record(like father`s name, date of joining, maid add and mobile no. etc) of particular employee by choosing id and name ... View Questions/Answers

MLM tree structure  November 2, 2011 at 5:44 PM
i want mlm tree structure code in php .Please help me..... thanks in advance ... View Questions/Answers

java  November 2, 2011 at 4:57 PM
providing suitable example describe the Scalar,Linear and Non Linear data structures. prepare a table for advantages and disadvantages of each type of the above for java ... View Questions/Answers

java  November 2, 2011 at 4:52 PM
say which of the following statements are true and which are false i)a tree is a connected graph without cycles. ii)the map data structure allows for multiple entries to have the same key. iii)Mergesort,quicksort and shell sort are sorting methods that use a divide-and-con... View Questions/Answers

How to connect to dao n bean classes with jsp  November 2, 2011 at 4:29 PM
I have made this edao pkg package edao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import ebean.Add_Village; public class AddVillageInfo extends EConnect { Connection co... View Questions/Answers

ajax+options is null or not an Object  November 2, 2011 at 12:43 PM
HI i have developed a simple ajax application contains two drop down lists and and one search button when i seleted a mangername from the popuated dropdwon list its dispalyed all the employee names on selection of the employee name and i kept search it should dispalay me the employee details w... View Questions/Answers

convert this html form to jsp  November 2, 2011 at 12:36 PM
<html> <head> <script language="javascript" src="images/validationm.js"></script> <script language="javascript" src="images/validation.js"></script> <title>Village Details</title> </head> <body bot... View Questions/Answers

Website deployment  November 2, 2011 at 11:23 AM
Hi, I have created a website using servlet and jsp. I'm through with it now i want to deploy my website locally such that if anyone types the url of the project it can be viewed without installing netbeans, till now i was viewing the website by pressing f6 it is working fine. I also have a dat... View Questions/Answers

Website deployment  November 2, 2011 at 11:23 AM
Hi, I have created a website using servlet and jsp. I'm through with it now i want to deploy my website locally such that if anyone types the url of the project it can be viewed without installing netbeans, till now i was viewing the website by pressing f6 it is working fine. I also have a dat... View Questions/Answers

vowel  November 2, 2011 at 9:06 AM
display all the vowel from word/string ... View Questions/Answers

buble sort  November 2, 2011 at 9:01 AM
ascending order by using Bubble sort programm ... View Questions/Answers

Stringop  November 2, 2011 at 8:54 AM
class name : stringop Dat members :String str member function : Stringop(): to initialize str with NULL void encode(): to replace and print each character of the string with second next character in ACII table. Example : A with C,B with D and so on..... void print(): to print each word of the Str... View Questions/Answers

converter  November 2, 2011 at 8:00 AM
I want to convert my c source code to java. Please tell me any software. How I convert c code to java code?? ... View Questions/Answers

Hi  November 2, 2011 at 12:19 AM
I have got this code but am not totally understanding what the errors. Could someone Please help. Thanks in advance! import java.util.Random; import java.util.Scanner; private static int nextInt() { public class MatchingPair{ private static class input { ... View Questions/Answers

Save the content in my wysiwyg editor into specified location of user when clicked on save button in my web page  November 1, 2011 at 10:32 PM
I am using wysiwyg editor to display some static content.My requirement is that This static content can be edited by the user and also can be saved to his location in word document format. Can someone help how to code to save this wysiwyg content into word document?? ... View Questions/Answers

java  November 1, 2011 at 10:22 PM
using Buble sort algorithmm arrange EvenArray and PrimeArray in descending order. ... View Questions/Answers

java  November 1, 2011 at 10:16 PM
providing suitable example describe the Scalar,Linear and Non Linear data structures. prepare a table for advantages and disadvantages of each type of the above. ... View Questions/Answers

write a progam for bubble sort using file read nd write?  November 1, 2011 at 6:17 PM
hi, please give the code ... View Questions/Answers

populating a screen on the same page  November 1, 2011 at 6:00 PM
i'm making a time table in jsp. i have put button on each slot.if a person click on that slot it'll redirect to a new page which will help them to choose the subject and faculty through drop down. But now i want that onclicking slot(button) a small selection screen like we get generaly while ente... View Questions/Answers

linked list  November 1, 2011 at 5:57 PM
hi i have basal problem what is the linked list? ... View Questions/Answers

linked list  November 1, 2011 at 5:36 PM
Hi i have a problem with linked list ! how and where i can use linked list? please give me some example. ... View Questions/Answers

Could someone Possibly help me with this  November 1, 2011 at 3:25 PM
think of a number and allow the user to guess it import java.util.*; public class ThinkNumber { public static void main (String args[]) { //generate number in range 1 - 100 //prompt user to enter guess //loop until correct number is guessed ... View Questions/Answers

question about database  November 1, 2011 at 1:14 PM
sir i have made a drop down button using html..now i want to retrieve values from database so that they my appear in my drop down button..how can i do this....i have taken many fields such as type,ward id etc and a drop down menuwith each of them and now i want to retrieve their values from datab... View Questions/Answers

Upload image to the server in J2ME?  November 1, 2011 at 1:01 PM
HI Team, I am new to the j2me and now I am working on the program that, upload captured image to the server by using j2me. I did this by using simulator but when I made hit from the mobile device it is showing an exception like "org.apache.commons.fileupload.FileUploadBase$UnknownSizeExce... View Questions/Answers

ajax+dropdown+table format  November 1, 2011 at 12:43 PM
HI, i am looking for an ajax application which must contain two dropdown list.In first dropdown if i select a manager name from the first dropdown all the reporties under the selected manager should come and then if i select the one reportee,upon click on a search button it should dispaly me emp... View Questions/Answers

java  November 1, 2011 at 12:41 PM
Hell Team, I am totally new to java, from net am setup in my machine netbeans, mysql and tomcat server. I am working in a small enterprise where 50-60 desktops are there, I want to create a web application where I can put all asset inventory as well as user can log a call from the page with aut... View Questions/Answers

jsp  November 1, 2011 at 12:33 PM
i have a form containing 3 drop down list and radio button and a checkbox(holiday). i want that if i select the checkbox i.e holiday all dropdown radio button should be disabled. please help ... View Questions/Answers

how to compare 2 arrays using java?  November 1, 2011 at 12:32 PM
hi can anyone give me the information regarding comparision of arrays. ... View Questions/Answers

Java swing  November 1, 2011 at 11:27 AM
I create one table. That table contains task ID and Task Name. When I click the task ID one more table will be open and that table contains Task Description,plan time and actual time. I edit the details and add to the database using java swing. ... View Questions/Answers

JSP-Servlet  November 1, 2011 at 11:18 AM
Hi have created a JSP page and I need to print it when the user clicks on the print button. I have put a print button on the JSP page. Can somebody plz help me out with the Servlet page coding. ... View Questions/Answers

How to update record to database? I have trouble with the following code  November 1, 2011 at 11:17 AM
I have written the update statement but it still not work to update the record,what is the missing of the following code ?I need help,thankyou selectdb($database_con, $connection); $emailAddress=$_POST['emailAddr... View Questions/Answers

getting and storing dropdown list in database in jsp  November 1, 2011 at 10:38 AM
i have a drop down list to select book from database. i'm able to retrieve dropdown list from database. but unable to store the selected value in database table. please help ASAP else my boss will kill me :P :D ... View Questions/Answers

Hiya!  November 1, 2011 at 12:24 AM
I dont suppose anybody could help me write a Java program for 'Guess A number' //think of a number and allow the user to guess it import java.util.*; public class ThinkNumber { public static void main (String args[]) { //generate number in range 1 - 100 ... View Questions/Answers

Servlets mysql connectivity  November 1, 2011 at 12:17 AM
please tell me the steps to connect mysql with java servlets using connector j ... View Questions/Answers

netbeans  October 31, 2011 at 6:43 PM
In netbeans, there are choices of books with their price. you check the book you wanted then click the purchase.the output should be the book with the price then you will get the total price of the book you purchase.how to perform the operation? ... View Questions/Answers

online database connectivity issue from JSP page .  October 31, 2011 at 6:12 PM
Hi; Everything working fine in localhost , but facing a simple problem in connectivity with database from my web site. In my local host-- when I am typing following code Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); conn ... View Questions/Answers

exception error inservlet  October 31, 2011 at 3:55 PM
Hi,i got the error as..below..wat could be the possible mistake ?THANK YOU!!! type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: JDB... View Questions/Answers

ejb  October 31, 2011 at 3:54 PM
Match the following. ejbFind() ejbStore() ejbPostCreate() ejbLoad a. reset transaction related parameters. b. not required for CMPs. c. update the database. d. utilities required to work with the data are performed. ... View Questions/Answers

methods can be invoked by the container on a stateless session bean  October 31, 2011 at 2:07 PM
Which of the following methods can be invoked by the container on a stateless session bean? ... View Questions/Answers

session  October 31, 2011 at 2:06 PM
Which methods can be invoked by the container on a stateless session bean? ... View Questions/Answers

XML validation against a dtd -refering  October 31, 2011 at 1:32 PM
hi i have an issue in validating an xml against dtd .As the currently used schema is http://www.w3.org/2001/xmlschema and my dtd is refering to the "http://www.w3.org/1999/xmlschema" old version is there any solution to validate my xml against the dtd i have , which is refering the 19... View Questions/Answers

filling pdf by itext  October 31, 2011 at 10:51 AM
I read the pdf that contain of text field and I want to fill this field in the same pdf file that it oppened? what the sutible procedure? I have the folloing statment but I do not want this can you correct my code depond on my request??? I want read the PDFform.pdf and I want fill the ... View Questions/Answers

Java swing  October 31, 2011 at 10:25 AM
when i enter the time into the textbox and activities into the textarea the datas saved into the database.the java swing code for the above item ... View Questions/Answers

execution of java program  October 31, 2011 at 12:19 AM
wat are the steps for the execution of the servlet-jdbc program on tomcat 5.5 server.. PlS provide..the execution steps in detail..including the setting of classpath in DOS for mysql-connector-java. i have put the classpath as: set path=%path%;C:\Program Files\Java\jdk1.6.0_01\bin... View Questions/Answers

How I can filling pdf file that crated by livecycle using itext  October 30, 2011 at 11:40 PM
I have pdf file that already done by livecycle.. I read it then I used the pdfstamber class to manipolute and filling file.... the result it will be a new pdf file else than origional pdf file . My request ... I want to use pdfreader to read an existing pdf file then I want fill the same ... View Questions/Answers

java  October 30, 2011 at 11:00 PM
Problem analysis and algorithm design (i.e.: flowchart, algorithm)and explanation for a Java program that prompt user to input a number of students in a class. Then, prompt user to input the student√Ę‚?¨‚?Ęs programming mark. Determine how many student get A+ and A for their grade and how many st... View Questions/Answers

solution of k map in c  October 30, 2011 at 10:21 PM
write a program in c to solve k-map with digital circuit ... View Questions/Answers

insertin form data into databse and blank all form field when click on submit button  October 30, 2011 at 12:25 PM
sir, i useing the jsp. i want insert form data into Ms-Access database when click on submit button and blank all form field after inserting data into databse. pls help ... View Questions/Answers

online database connectivity issue from JSP page .  October 30, 2011 at 10:50 AM
Hi; Everything working fine in localhost , but facing a simple problem in connectivity with database from my web site. In my local host-- when I am typing following code Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); conn ... View Questions/Answers

Web personalization  October 30, 2011 at 7:09 AM
I need to know how to create concept based user profiles for search engine personalization..pls help me ... View Questions/Answers

flow chart  October 30, 2011 at 3:58 AM
can you provide the flowchart of this coding. import java.util.*; public class StudentMarks{ double totalMarks; String grade; public void setTotalMarks(double totalMarks){ this.totalMarks=totalMarks; } public double getTotalMarks(){ return to... View Questions/Answers

flow chart  October 30, 2011 at 3:58 AM
can you provide the flowchart of this coding. import java.util.*; public class StudentMarks{ double totalMarks; String grade; public void setTotalMarks(double totalMarks){ this.totalMarks=totalMarks; } public double getTotalMarks(){ return to... View Questions/Answers

Reading a file from Jar JAVA  October 29, 2011 at 11:38 PM
I have added one excel sheet into a jar file. can anybody tell me how i can read that file. actually when i am running code from eclipse i able to read it but when i am adding that jar file in to project i am unable to read it(code not throwing any Exception). is there any... View Questions/Answers

Reading a file from Jar JAVA  October 29, 2011 at 11:35 PM
I have added one excel sheet into a jar file. can anybody tell me how i can read that file. actually when i am running code from eclipse i able to read it but when i am adding that jar file in to project i am unable to read it(code not throwing any Exception). is there any... View Questions/Answers

java  October 29, 2011 at 9:26 PM
what is marker interface? ... View Questions/Answers

Fetch the data from mysql and display it on php form  October 29, 2011 at 9:16 PM
when i press on login button, after succesful login the related data of that person should be display in other textbox... ... View Questions/Answers

online database connectivity issue from JSP page .  October 29, 2011 at 7:37 PM
Hi; Everything working fine in localhost , but facing a simple problem in connectivity with database from my web site. In my local host-- when I am typing following code Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); conn = DriverManager.getConnect... View Questions/Answers

what is json in iphone sdk  October 29, 2011 at 4:24 PM
What is json in iphone sdk? Is this a library and when i need to include JSon in my iPhone SDK App?? ... View Questions/Answers

jan  October 29, 2011 at 4:13 PM
write code to input a word and printf the next consecutive letter of each alphabet input :EARTH output :FBSUI ... View Questions/Answers

MAking combinitions  October 29, 2011 at 3:49 PM
Dear All, Please help me.... I have some 60-70 lineswhich contains \new\code\R2.0.1\option.c \new\code\R2.0.3\option.c \new\code\R2.0.1\Test.c \new\code\R2.0.2\Test.c \new\code\R2.0.3\Test.c \new\code\R2.0.3\core.c \new\code\R2.0.2\cores.c \new\code\R2.0.1\debug.c \new\co... View Questions/Answers

java servlets  October 29, 2011 at 3:29 PM
please help... how to connect java servlets with mysql i am using apache tomcat 5.5 ... View Questions/Answers

DMCA.com