Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

SERVLET  November 8, 2011 at 8:19 AM
what is the difference between session and cookie ? ... View Questions/Answers

java  November 7, 2011 at 7:22 PM
when compiling a java program,following error messages are shown on command prompt.identify the resons to appear those error. a)DoTest.java:13:','expected } ^ b)DoTest.java:9:cannot find symbol symbol:variable x location:class DoTest System.... View Questions/Answers

Java Game Pontoon  November 7, 2011 at 6:30 PM
Could someone help me create a programme for the game pontoon //play a game of pontoon import java.util.*; public class Pontoon { public static void main (String args[]) { //deal initial hands //deal additional cards to player //deal additional card... View Questions/Answers

Advertisement

Java BMI code  November 7, 2011 at 4:53 PM
could someone help me with this heightInInches( ) takes 2 integer parameters, feet and inches which represents someone?s height and returns that height in inches weightInPounds( ) takes 2 integer parameters, stone and pounds which represents someone?s weight and returns that weigh... View Questions/Answers

Display items in table  November 7, 2011 at 3:11 PM
I have a listbox which has some items in it and a button. I select some items and click the button. They are displayed in a table. I want these items to be displayed in the table to be unique...i.e. if I reselect those same items they should not be displayed in the table and may be give some erro... View Questions/Answers

hotel management programme in c language?  November 7, 2011 at 2:36 PM
hotel management programme in c language? ... View Questions/Answers

illeagal character error....  November 7, 2011 at 9:23 AM
Here is my code: import java.io.*; import java.awt.*; import java.util.*; import javax.swing.*; import java.awt.event.*; import javax.swing.border.*; import javax.swing.filechooser.*; import javax.imageio.*; import java.awt.image.*; class MainScreen... View Questions/Answers

Prime Numbers  November 7, 2011 at 7:22 AM
Create a complete Java program that allows the user to enter a positive integer n, and which then creates and populates an int array with the first n prime numbers. Your program should then display the contents of the array elements. You program should also ensure that the user enters a positiv... View Questions/Answers

Java  November 7, 2011 at 7:21 AM
Create a complete Java program that allows the user to enter a positive integer, and which then determines and displays whether or not the number is prime. Prime numbers are positive integers greater than 1 which can only be evenly divided by 1 and themselves (e.g. 7 is prime, because it can onl... View Questions/Answers

code in jsp  November 7, 2011 at 1:33 AM
hi.. I had started a project on college admission system in which two operators has been introduced one is admin who can view all the details, update, delete them n then prepare a final reprt n other is data entry operator who can enter all the details of the student, can edit the forms...now i w... View Questions/Answers

jdbc  November 6, 2011 at 2:29 PM
hey sir i just wanna have some ppt on jdbc coz have my exams next week and i have not attended any classes coz of job... I m studyng frm niit ... View Questions/Answers

login data  November 6, 2011 at 2:27 PM
Hiiii Sir I am doing banking project on Asp.net i have created database on sql and also created a connection to gui but m not getting the data after login i want to show particular data for particular user means if i login i wanna see only myn data how shud i do thanxx in advance ... View Questions/Answers

java  November 5, 2011 at 11:25 PM
find the error in each of the following program segments.explain how to correct the error. a) int g() { System.out.println("Inside method g"); int h() { System.out.println("Inside method h"); } } b) int sum(int x,int y) {... View Questions/Answers

java  November 5, 2011 at 11:16 PM
when compiling a java program,following error messages are shown on command prompt.identify the resons to appear those error. a)DoTest.java:13:??,??expected } b)DoTest.java:9:cannot find symbol symbol:variable x location:class DoTest ... View Questions/Answers

java  November 5, 2011 at 11:07 PM
write a program in java to print day of a week with with respect to its number .for the illustration,if you give a number 4, it will print"wednesday" in this program,switch-case statement is expected to use. ... View Questions/Answers

java  November 5, 2011 at 11:02 PM
01)write a java program to add two integer variables and display the sum of them .using java swing 02)write a java program to find the surface of the sphere.Radius of the sphere may be any number that user gives. ... View Questions/Answers

java  November 5, 2011 at 10:57 PM
what will be the output of following program fragment? int number=10; number++ --number; System.out.println(number); ... View Questions/Answers

java  November 5, 2011 at 10:54 PM
write the output if the following code is executed. class LabeledLoop { public static void main(String arg[]) { mgr: for(int i=1; i<=3; i++) for(int i=1; j<=3; j++) { System.out.println("i is "+ i +",j is "+ j); if ((i+j)>2)... View Questions/Answers

coding C  November 5, 2011 at 10:45 PM
Write a program for a GENERAL NUMBER CONVERTERS which include binary, decimal, octa and hexadecimal. You need to write the program using C language. ... View Questions/Answers

MCA  November 5, 2011 at 9:28 PM
Hello... am indumathi. while compiling the java code in command editor, am getting the message ['javac' is recognized as an internal or external command,operable program or batch file]... i dont know wat to do..plz help me.. thank you.. ... View Questions/Answers

java  November 5, 2011 at 6:02 PM
Example program for find the duplicate elements from list? ... View Questions/Answers

java  November 5, 2011 at 5:40 PM
sir Consider the following stack of characters,where stack is allocated 8 memory cell stack:b,c,d,f,g,h,-,- give the contents of the stack at the end of the each operation given below i) push(j) ii)pop() iii)push(k) iv) pop() ... View Questions/Answers

JAVA  November 5, 2011 at 5:32 PM
how to retrieve the duplicate values from list? ... View Questions/Answers

ArrayList question plz solve it  November 5, 2011 at 2:22 PM
An arraylist object stores an Emp Object, where there is name,age,address of the employee is stored, And i want to access the data in the basis of age based? Provide answer to the question with an example.. ... View Questions/Answers

Browser Back Button Disable/Hide/Invisible using Java Script  November 5, 2011 at 11:51 AM
Dear Sir, Please Help..., Q: How to Write Code For Browser Back Button Disable/Hide/Invisible using Java Script without Page Reload/Refreshing. anyone know reply me... ... View Questions/Answers

java  November 5, 2011 at 11:24 AM
after compilation of program files ,following error messages were showen on command prompt.identify the causes for those specific errors. i)testing.java:8:package system does not exist. System.out.println("No of items:"tooa1Item); ^ ... View Questions/Answers

java  November 5, 2011 at 11:09 AM
find the error of in each of the following code segment and explain how to correct it. i) For(index=0.1;index!=1.0;index+=0.1) System.out.println("index="+index); ii)Switch(x) { case 1: System.out.println("The nu... View Questions/Answers

java  November 5, 2011 at 10:45 AM
i)testing.java:8:package system does not exist. System.out.println("No of items:"tooa1Item); ^ 1 error ii) Testing.java:10:cannot find symbol Location:class Testing Symbol:variable count ... View Questions/Answers

java  November 5, 2011 at 10:37 AM
after compilation of progra files, following error messages were shown on command prompt.identify the causes for those specific errors. i) System.out.println("No of items:"tooa1Item); ^ 1 error ii) Testing.java:10:cannot fi... View Questions/Answers

java  November 5, 2011 at 10:24 AM
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 a... View Questions/Answers

java  November 5, 2011 at 10:17 AM
write a complete java application to prompt the user for the radius of a sphere,and call method sphereVolume to calculate and display the volume of the sphere.use the Math.pow(radius)method and Math.PI constant of Math class. ... View Questions/Answers

java  November 5, 2011 at 10:10 AM
write a java program to compare two integer variables and display the largest one using input and message dialog boxes. ... View Questions/Answers

java  November 5, 2011 at 10:07 AM
what will be the output of the following program fragment? byte num=0; num++; ++num; System.out.println(num++); ... View Questions/Answers

java  November 5, 2011 at 10:01 AM
find the errors in the following code fragment and explain how to correct them button1=new JButton("OK"); JTextField text1=JTextField(10); Container c=getContentPane(); setLayout(new BorderLayout()); c.add(button1); c.add(text1); ... View Questions/Answers

java  November 5, 2011 at 9:54 AM
consider the following interface interface ATI { int getData(); void setData(int x); } write a class that implements the above interface. ... View Questions/Answers

java  November 5, 2011 at 9:51 AM
01)state 3 restrctions in overriding a method. 02)can you override a final method?explain your answer? 03) class Ati { void my Method(int a,int b) { } } write down 3 overlooked method prototypes for the class Ati. ... View Questions/Answers

java  November 5, 2011 at 9:46 AM
identify instance variable ,class variables and local variable in the following example class Ati { static int no; String center; int testMethod() { float x,y; x=y+10; return x; } } ... View Questions/Answers

java  November 5, 2011 at 9:41 AM
)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 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

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

DMCA.com