Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

convert this code to GUI  November 9, 2011 at 9:22 AM
hello.. this is my code.. import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to ... View Questions/Answers

look up values help needed  November 9, 2011 at 8:05 AM
Hi, I have a table that returns rows with a total weight (say 212.5 for example). I have another look up table that has range of weights with a corresponding dollar value The look up table looks like this: (example) kg value 0 2.000000000000... View Questions/Answers

graph generation using jfreechart and retrieving values from the database  November 8, 2011 at 7:34 PM
I have made a database containing 4 subject marks and name and roll no. of students.The dsn name is chartdsn. I want to retrieve the data from the access database using prepared statement and then display the bar graph using jfreechart API .This whole retrieval and display of chart is to be done ... View Questions/Answers

Advertisement

JSP Paging issue  November 8, 2011 at 5:18 PM
Hi; what should I have to write insted of "SQLCALCFOUND_ROWS" for MS-SQL database Amrit ... View Questions/Answers

Thread  November 8, 2011 at 3:54 PM
My question is why it is needed to pass this keyword to the thread constructor eventhough we had created only one thread and if you say we have added to point to the current thread then why we have not added this in the following line "s=s1" Pls reply...... class MyThread extends Thread {... View Questions/Answers

Hi i want java code that diaplays server scren at the client side  November 8, 2011 at 2:41 PM
Hi I'm Shivaprasad i want java socket code that shows the server side screen when client gets connected with the server. Please help me ... View Questions/Answers

JSP Paging issue  November 8, 2011 at 2:31 PM
Hi; How to display large number of users- account profile with photo can be placed in continuous pages using JSP code . If any one have solution please help me . Amrit; ... View Questions/Answers

struct dot notation  November 8, 2011 at 1:17 PM
what is a dot notation in struct? ... View Questions/Answers

group by sorting  November 8, 2011 at 1:15 PM
group by sorting of data in SQL. ... View Questions/Answers

jfreechart display from access database data.  November 8, 2011 at 1:00 PM
I have made a database containing 4 subject marks and name and roll no. of students. I want to retrieve the data from the access database using prepared statement and then display the bar graph using jfreechart API .This whole retrieval and display of chart is to be done in a servlet.. No... View Questions/Answers

objective c pass by value  November 8, 2011 at 12:34 PM
How to pass value by reference in objective c? ... View Questions/Answers

dynamically writing text javascript  November 8, 2011 at 12:33 PM
dynamically writing text javascript. Is it possible? ... View Questions/Answers

dynamically writing text javascript  November 8, 2011 at 12:33 PM
dynamically writing text javascript. Is it possible? ... View Questions/Answers

barcode reader using jsp  November 8, 2011 at 12:13 PM
HI ALL, I need jsp code for barcode reader.When we scan the barcode image that barcode value will be stored in one textbox automatically. please helpe me. Regards Bhanu ... View Questions/Answers

Latest version of Java  November 8, 2011 at 11:48 AM
I want to know the latest version of Java? ... View Questions/Answers

null pointer exception in java  November 8, 2011 at 10:42 AM
What is null pointer exception in Java and when it occurs? Show it with an example.Thanks! ... View Questions/Answers

c++ system command  November 8, 2011 at 10:38 AM
c++ system command variables and an example in real time of using the system command. ... View Questions/Answers

to make a google map point to user defined location  November 8, 2011 at 10:30 AM
Hi, i wish to develop an google map,that takes the input from a form(city,area &Country) and points the location in google map.so how do i do it? wen i press the submit button, the form should be submitted and then the google map should display the desired location of the user. ... View Questions/Answers

HTML GRID  November 8, 2011 at 9:11 AM
how to retrieve data from mysql database in grid form using html and servlets? urgent.... ... View Questions/Answers

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

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

DMCA.com