Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

serverside lockout  November 10, 2011 at 11:13 AM
hi I want the application like When ever User is trying to Sign-in for configured number of attempts, we are locking out the User at Session Level instead of Database Level. This means when we open new Browser or Delete the cookies and try to Sign in again..it will give the User again th... View Questions/Answers

login data  November 10, 2011 at 10:14 AM
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

digital diary  November 10, 2011 at 12:57 AM
please post the code for a simple digital diary... with contacts storing facility, passwords , notes, alarm clock and calender ... View Questions/Answers

Advertisement

digital diary  November 10, 2011 at 12:57 AM
please post the code for a simple digital diary... with contacts storing facility, passwords , notes, alarm clock and calender ... View Questions/Answers

digital diary  November 10, 2011 at 12:57 AM
please post the code for a simple digital diary... with contacts storing facility, passwords , notes, alarm clock and calender ... View Questions/Answers

ejb  November 10, 2011 at 12:02 AM
what is ejb ... View Questions/Answers

webservices security  November 9, 2011 at 9:20 PM
am doing project in web services security. can one sugesst me a best application for web service ... View Questions/Answers

how to execute a unix shell script from a java program  November 9, 2011 at 6:03 PM
well , i am facing this problem.. i have tried a few sample codes but there isn't any solution . could anyone please give a sample code as of how to do this... what i am trying is that there we can enter a username,server name and a password alongwith the script name from a java code .on... View Questions/Answers

What it will return ..... ?  November 9, 2011 at 5:32 PM
import java.util.*; public class Name { private final String first, last; public Name(String first, String last) { this.first = first; this.last = last; } public boolean equals(Object o) { if (!(o instanceof Name)) return false; Name n = (Name)o; return n... View Questions/Answers

How to convert this Java code into GUI?  November 9, 2011 at 2:19 PM
import java.util.Scanner; public class StudentMarks { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; } public double getTotalMarks() { return totalMarks; } public... View Questions/Answers

struts flow  November 9, 2011 at 1:43 PM
what is the diff between perform() and execute() in struts? what is the diff between DispatchAction() and LoojupDispatchAction() in struts? ... View Questions/Answers

how to add framework in xcode 4  November 9, 2011 at 12:49 PM
how to add framework in xcode 4 iPhone? ... View Questions/Answers

jfreechart displaying chart from access database  November 9, 2011 at 11:59 AM
I have these 2 codes. array.java----in which i retrieve the values from the database . import java.util.ArrayList; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedState... View Questions/Answers

Push and Pop UINavigationController  November 9, 2011 at 11:18 AM
push and pop UINavigationController example ... View Questions/Answers

PHP code for csv file upload into mysql  November 9, 2011 at 11:14 AM
I want to upload a file from my pc to mysql server using upload option. while i m selecting the csv file it ll be upload the mysql database. can u send me the coding? i have tried the following coding. it is not working properly. pls help me, Regards, Raja V, ISB ... View Questions/Answers

comparing dates objective c  November 9, 2011 at 10:57 AM
Comparing two different dates in Objective C. ... View Questions/Answers

VK  November 9, 2011 at 9:59 AM
which one is most use framework write now ??? STRUTS or SPRING ... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

convert this code to GUI  November 9, 2011 at 9:28 AM
import java.util.Scanner; public class StudentGrade { double totalMarks; String grade; public void setTotalMarks(double totalMarks) { this.totalMarks = totalMarks; //"this" keyword refer to current instance of the method on which it is use } pu... View Questions/Answers

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

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

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

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

DMCA.com