Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Jdbc Program for building Student Information Database  August 9, 2010 at 7:16 AM
import java.awt.*; import java.awt.event.*; import java.sql.*; public class College implements ActionListener { Panel p; Frame f; Button b1,b2,b3,b4,b5,b6,b7; TextField tf1,tf2,tf3,tf4,tf5,tf6,tf7; Label l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l11,l12,l13,l... View Questions/Answers

core java, static  August 9, 2010 at 12:05 AM
Dear sir, in java non-static fields can not be accessed in a static field.But if we create an object of class type in static field and then call non-static field in it, it works fine as in following program ( Ultimately this is what we do in static main method). So is right to say that practic... View Questions/Answers

Program using String functions  August 8, 2010 at 10:38 PM
Write a program to accept a sentence and find out how many times the word "the" occurs? ... View Questions/Answers

Advertisement

solution  August 8, 2010 at 8:10 PM
extends if A ----------> B classA a=new B();B b=new B(); then b=a; is it possible? ... View Questions/Answers

java code  August 8, 2010 at 8:08 PM
i want code of combo box,that is ,if i select county ,then it has to display all the states name ... View Questions/Answers

java code  August 8, 2010 at 8:06 PM
how can we display in jsp page selecting multiple records from serevlet ... View Questions/Answers

Java code  August 8, 2010 at 6:55 PM
Java program to calculate simple interest using the concept of constructor and method overriding ... View Questions/Answers

java code  August 8, 2010 at 6:51 PM
1)Java program to calculate compound interest using packages.2)Java program to find the area and volume of square,rectangle,circle and satisfy constructor overloading and method overloading using packages. ... View Questions/Answers

java, upload csv file  August 8, 2010 at 2:16 PM
hi,i have a csv file having 29 colums,i want to upload that csv file to database.i need the code,, can u please send me the code.. thanks.. ... View Questions/Answers

java fresher  August 8, 2010 at 1:26 PM
i am working on php.can i learn JAVA.If yes,then how much time it will take ... View Questions/Answers

java application  August 8, 2010 at 11:04 AM
Hi team rosenet,I ve used the ideas you gave and created an application.I need to do a modification to this code:/* * To change this template, choose Tools | Templates * and open the template in the editor. */package register;import java.awt.Grid... View Questions/Answers

java  August 8, 2010 at 10:06 AM
What is virtual class in java? Plz explain with an example. ... View Questions/Answers

javascript  August 7, 2010 at 9:26 PM
Dear Sir, how to attach file while sending some files in a mail service??i have a button called attach files.After clickin that button what is the function to be called.Thank YouDebasis ... View Questions/Answers

java  August 7, 2010 at 7:49 PM
"Design a Java interface for ADT Stack. Develop two different classes that implement this interface, one using array and the other using linked-list. Provide necessary exception handling in both the implementations". I got this assignment,sir please send me the necessary codings and algo... View Questions/Answers

sir i,have a another assignment for these question plz help me sir  August 7, 2010 at 7:02 PM
1. Design classes for Currency, Rupee, and Dollar. Write a program that randomly generates Rupee and Dollar objects and write them into a file using object serialization. Write another program to read that file, convert to Rupee if it reads a Dollar, while leave the value as it is if it reads a Rup... View Questions/Answers

Java application  August 7, 2010 at 6:21 PM
Seasons greetings,I successfully designed the Food festival application using the help rosenet team rendered but it is not exactly the specification i said.so i altered it.I thank rosenet team for their timely assistance.Now i have 3 queries,How to update the ms access table from c... View Questions/Answers

java  August 7, 2010 at 6:00 PM
Search for .txt files in the specified folder 1. if file exist continue 2. else reset ... View Questions/Answers

JAVA  August 7, 2010 at 5:04 PM
Suppose a=b c=d x=z then i want to save the value of b in a variable, value of d in c and so on... how? ... View Questions/Answers

export jsp page  August 7, 2010 at 3:21 PM
i want to export jsp page in word and pdf format... code that export my jsp page in word and pfd format.... ... View Questions/Answers

JAVA  August 7, 2010 at 3:11 PM
I want to read the content of file "a.cfg" such thatIfa.cfg contains abc = xyzthen value of xyz should be stored in abc variable. ... View Questions/Answers

jsp  August 7, 2010 at 2:36 PM
in my table there 3 fields item id,item name n rate...fetch all rate values from database and print least 3 values.. ... View Questions/Answers

JAVA  August 7, 2010 at 1:07 PM
Onload of project read ndnc.cfg file in c:\config folder for user defined constants. ... View Questions/Answers

JAVA  August 7, 2010 at 12:37 PM
On loading of project read the particular file from the folder for user defined constants ... View Questions/Answers

c++  August 7, 2010 at 12:05 PM
1. Create the equivalent of a four-function calculator. The program should request the user toenter a number, an operator, and another number. (Use floating point.) It should then carry out thespecified arithmetical operation: adding, subtracting, multiplying, or dividing the two numbers... View Questions/Answers

Still getting the http 404 error  August 7, 2010 at 11:11 AM
Dear experts,I refer to the last solution given to me.A few clarification:-1. I must stress that the login is part of my index page where I have other things in that page. So, please advise if it is ok to put a login at the right hand column of that page.... View Questions/Answers

c++  August 7, 2010 at 8:17 AM
2. Use for loops to construct a program that displays a pyramid of Xs on the screen. Thepyramid should look like thisXXXXXXXXXXXXXXXXXXXXXXXXXexcept that it should be 20 lines high, instead of the 5 lines shown here. One way to do this is to nest two inner l... View Questions/Answers

sir i,have a assignment for these question plz help me sir  August 7, 2010 at 5:40 AM
1.Design a Java interface for ADT Stack. Develop two different classes that implement this interface, one using array and the other using linked-list. Provide necessary exception handling in both the implementations2.Design a Vehicle class hierarchy in Java. Write a... View Questions/Answers

Java Core GUI APIs: clickatell sms  August 7, 2010 at 4:07 AM
Hello friends,I have to send sms through my application.I am using clickatell.I find the code as--// Send SMS with clickatellSmsSender smsSender = SmsSender.getClickatellSender("username", "password", "apiid");... View Questions/Answers

Multilevel inheritance  August 7, 2010 at 1:53 AM
Dear Sir,I'm posting you another question for which I need a more explanatory java coding(A lengthy one with more classes if possible)"Write a java program to create simple student object and inherit to multilevel inhertance "Thank You. ... View Questions/Answers

Java Programs  August 7, 2010 at 1:48 AM
Dear Sir,Could you give me the syntax for HIERARCHIAL INHERITANCE and give sample program for the same?(if possible with an output) ... View Questions/Answers

Java  August 6, 2010 at 10:26 PM
Write a program to copy the contents of one file to another file removing comments and extra blanks.please reply. ... View Questions/Answers

java assignment  August 6, 2010 at 10:02 PM
I got assignment in "design a vehicle class hierarchy in java,write a test program to demonstrate polymorphism".please send me the necessary codings and algorithm. ... View Questions/Answers

java  August 6, 2010 at 9:02 PM
Design classes for Currency, Rupee, and Dollar. Write a program that randomly generates Rupee and Dollar objects and write them into a file using object serialization. Write another program to read that file, convert to Rupee if it reads a Dollar, while leave the value as it is if it reads a Rupee a... View Questions/Answers

j2me  August 6, 2010 at 7:47 PM
Hi, through j2me how can i connect googlemaps... ... View Questions/Answers

Hierarchy in java  August 6, 2010 at 7:06 PM
Design a vechicle class hierarchy in java? ... View Questions/Answers

image display  August 6, 2010 at 5:39 PM
how to display image that store in mysql database... column have BLOB datatype.... ... View Questions/Answers

mysql  August 6, 2010 at 4:50 PM
code to add photo in mysql database ... i want page from which i can upload photo which will store in mysql database and display in one page in jsp... ... View Questions/Answers

JAVA  August 6, 2010 at 4:00 PM
How to separate the string of any file name. Suppose I have the file named x_y_z.txt then I want to separate x,y & z independently. ... View Questions/Answers

using displaytag with struts2  August 6, 2010 at 3:01 PM
Hi, i am using struts2 framework to develop an application. But, while surfing some code on internet, i saw some rich UI application in which there are highly used displaytag. Furthermore they were using this to display the data of List(arraylist/arrty), for sorting purpose while clicking on ta... View Questions/Answers

what is the differnce between the number format and string format when creatign the table in oracle  August 6, 2010 at 2:23 PM
Hi what is the differnce between the number format and string format when creatign the table in oracle.if i enter the number in string format,can i know the advantageif i enter the number in number format,can i know the advantage ... View Questions/Answers

java  August 6, 2010 at 1:58 PM
how to supply command line arguments to the code by using notepad and by using netbeans 6.5 ? please answer me as early as possible..thank you ... View Questions/Answers

RMI  August 6, 2010 at 1:09 PM
1>when i run jar file with java -jar jarfile.jar it shows Failed to load Main Class error how to overcome by this error 2>when i run jar file by double clicking It shows an error that "Failed to load Main-class manifest attribute" 3>when i use javaw rmicre... View Questions/Answers

jaavscript  August 6, 2010 at 12:31 PM
Dear sir, I have an Inbox page with options such as inbox,forward,delete,reply,log out,compose mail buttons.By clickin on inbox button it should query results,i.e inbox contents from database such as from,to ,subject,date,content with check box corresponding to each mail.If you can pr... View Questions/Answers

abt java  August 6, 2010 at 12:17 PM
hiiiii i m new to this language i have some problem with my java code ... i working on netbeans .. i write a code for user authetication ... in this code it take user name password and a user certificate(which is given by master ) the problem is this that when i run this desktop... View Questions/Answers

collectrions  August 6, 2010 at 9:50 AM
I got this error"WARNING: Expected collection while converting data for java.util.List in ParameterProperty[method=getAmount,p#=0]."Can u plz solve it?? ... View Questions/Answers

Text File I/O - DVD.java  August 6, 2010 at 8:36 AM
NEED HELP PLEASE.The application should use a text file with one value on each line of the file. Each movie would use three lines: one for title; one for studio; one for year.When the application starts, read the data file and populate the array. When the file ends, use the a... View Questions/Answers

error  August 6, 2010 at 1:10 AM
import java.awt.*;import java.awt.event.*;class Sum implements ActionListner{Frame f ;button b ;Text Feildtf,tf1,tf2; public Sum() { f = newFrame("aaa"); ... View Questions/Answers

java  August 5, 2010 at 10:45 PM
can we declare the constructor as private? ... View Questions/Answers

logout problem??  August 5, 2010 at 8:46 PM
sir, the logout code which u have send is not the proper solution coz,by using this code the browser get closed which shuold not happen.to logout properly i think we should empty or clear the browser cache regarding that session object which used in particular application.this doesnt mean... View Questions/Answers

Java  August 5, 2010 at 8:14 PM
Define class Employee(id,name,salary).Define a subclass Manager(bonus).Create n objects of Manager class.Define a static method sort which will sort the manager objects on the basis of total salary.Display sorted data.here I am unable to pass the array of manager object to the stat... View Questions/Answers

throws IOException  August 5, 2010 at 7:41 PM
throws IOException means ... View Questions/Answers

java program  August 5, 2010 at 7:32 PM
sir,i'm ask to develop a program on below question.Design a Vehicle class hierarchy in java.write a test program to demonstrate polymorphism. ... View Questions/Answers

java  August 5, 2010 at 7:14 PM
Develop multi-threaded echo server and a corresponding GUI client in Java.and tell me the output.please reply sir. ... View Questions/Answers

Getting 404 errors  August 5, 2010 at 6:55 PM
Dear experts,I have embedded a login page inside my landing page - home.jsp.So, at the right-hand column of my page,I use the below codes:-<ul class="list-one"> <li><div id="fig2_8"> <... View Questions/Answers

java  August 5, 2010 at 6:40 PM
Develop Date class in Java similar to the one available in java.util package. Use JavaDoc comments and the output.please reply must sir. ... View Questions/Answers

graphical user interface  August 5, 2010 at 6:12 PM
Help me write a code for this please Thank you. tried adjusting the previous one and got errors.Employee Details as TitleName (Text Field) Address (Text Area)Phone (Text Field) Street (Text Field) Sex (Line Bord... View Questions/Answers

tomcat  August 5, 2010 at 6:04 PM
i want to run my war file in server in tomcat... to how to assign static IP in tomcat.... i want to run my project in local-network... my project is in jsp... ... View Questions/Answers

Javascript  August 5, 2010 at 5:59 PM
Dear Sir,I have been asked to create a mail service.Just like gmail inbox,send,compose etc options should be there.This service will be inside a system,not outside.All level users have their own id.If he opens his window,and click on MAIL button,gmail like screen should open.If he types ... View Questions/Answers

jsp code  August 5, 2010 at 5:58 PM
hello sir i have a problem in in loop while(itr.hasNext()){String compnamvalue=itr.next().toString();StringTokenizer searchstrtoken=new StringTokenizer(compnamvalue,"~");compcode=searchstrtoken.nextToken();String compname=searchstrtoken.nextToken();Strin... View Questions/Answers

jsp or javascript  August 5, 2010 at 5:52 PM
hello sircan i run sql query in javascript? ... View Questions/Answers

Java Of Sailendra  August 5, 2010 at 5:21 PM
Whats the use of comparator interface?How can we access the elements of a collection? ... View Questions/Answers

Java Of Sailendra Jena  August 5, 2010 at 5:16 PM
Have u used any collection algorithm? ... View Questions/Answers

Java of Sailendra  August 5, 2010 at 5:14 PM
why string is not taking as primitive datatypes but we r taking it as a class? why explain it? ... View Questions/Answers

java  August 5, 2010 at 5:11 PM
which one is more efficientint x;1. if(x==null)2.if(null==x)state which one either 1 or 2? ... View Questions/Answers

java  August 5, 2010 at 5:07 PM
how tha garbage collector know that the object will be deleted? on which algorithm the garbage collector works? what is the working principle of garbage collector? How manay types of garbage collectors r there? ... View Questions/Answers

query  August 5, 2010 at 4:20 PM
code that manage updation n deletion in one page.... that means i wants update query n delete query that work in one page at onclick update and delete button... ... View Questions/Answers

j2me  August 5, 2010 at 3:40 PM
Hi, How can we retrieve google maps by using j2me ... View Questions/Answers

graphical user interface  August 5, 2010 at 3:29 PM
how do i write a code for a jmenu bar, File with items like open, save , save as. that lead to another interface? ... View Questions/Answers

java swings  August 5, 2010 at 3:28 PM
hi everyone,can we make a chain of frames with JSplitpane and run a shell script in any one of those frames. ... View Questions/Answers

Javascript  August 5, 2010 at 2:38 PM
Dear Sir,I have been asked to create a mail service.Just like gmail inbox,send,compose etc options should be there.This service will be inside a system,not outside.All level users have their own id.If he opens his window,and click on MAIL button,gmail like screen should open.If he types ... View Questions/Answers

Fixed Header  August 5, 2010 at 1:57 PM
Dear Sir,My question is while querying some data and placing it in a table i have as many as 40 columns with many rows.when i am scrolling down data in the table the header gets lost.While analysing data one cant identify the coloumns to respective name.I want that header to be fixed,eve... View Questions/Answers

Javascript Fixed Header in A table  August 5, 2010 at 12:47 PM
Dear Sir, Thank you for your help.It is a great web site with a lot of help Cheers & Thank You again. My question is while querying some data and placing it in a table i have as many as 40 columns with many rows.when i am scrolling down data in the table the header gets l... View Questions/Answers

hide division  August 5, 2010 at 11:47 AM
On click Hide one dividion and visible another division... ... View Questions/Answers

title and keywords don't refresh in webpage  August 5, 2010 at 4:14 AM
Hi, I changed the title and keywords on my main jsp page that is the entry point into my web application. However when I restart server and do view source I still see the old title and keywords. If I change anything else on the jsp page it refreshes but not the title and keywords. Am I missing... View Questions/Answers

java  August 5, 2010 at 12:25 AM
good morning sir.i have completed my mca at 2009.now i want to attend the inteviews (fake 1+/2+)is it possible to attend and which type of questiond they may ask.i have scjp and scwcd and good knowledge in struts,hibernate. ... View Questions/Answers

jdbc  August 4, 2010 at 11:19 PM
I've got a MS Access database with a 1:1 relationship between 2 of thetables, and I'm trying to append data to both tables.Both tables have the same Primary Key, which is generated as an Auto-Number in Access. If I delete the relationship in Access, then I canappend dat... View Questions/Answers

array  August 4, 2010 at 11:11 PM
Write a program that read 15 integers between 0 and 6 and a method to search, displays and returns the number that has the highest occurrence. Prompt the user if the number is not within this range. ... View Questions/Answers

Java Compilation  August 4, 2010 at 10:08 PM
Dear Sir,Thanks for giving the code for the question which i posted.I went through the program"Write a Java program to read a file that contains DNA sequences of arbitrary length one per line (note that each DNA sequence is just a String). Your program should sort the sequence... View Questions/Answers

decryption and encryption  August 4, 2010 at 9:07 PM
hi everyone. my question is that i have one problem which i have to solve and the issue is that i have to do the encryption and decryption thing there in my code, e.g if the user enters the abc the code should encrypt it to def and vice versa plz help me ... View Questions/Answers

array  August 4, 2010 at 8:49 PM
Write a program that read 15 integers between 0 and 6 and a method to search, displays and returns the number that has the highest occurrence. Prompt the user if the number is not within this range. ... View Questions/Answers

java  August 4, 2010 at 8:47 PM
create a web site that contain pages for you personal information family information ,educational information, training and project information and a page for remark from your friend. Link all these pages with menus you have downloaded. display different messages on satus bar for each page, use diff... View Questions/Answers

graphical user interface  August 4, 2010 at 7:30 PM
write a java program to display Employee details with a border heading,name,phone number, street,city,then on the other side Right text area for address, under it sex with a border title then radio button for male and female, hobbies line border,football check box,netball check box,chess check box, ... View Questions/Answers

RMI over Internet  August 4, 2010 at 7:02 PM
Hello I've made a project which utilizes rmi for communication.Problem: I am unable to communicate using rmi over internet1)the clients cannot connect to me2)I am using client side callbacks ... View Questions/Answers

java program  August 4, 2010 at 6:52 PM
sir,i'm asked to write a program in java on below question.Design a java interface for ADT stack.Develop two different class that implements this interface,one using array and other using linked list provide necessary exception handling in both the implementation. ... View Questions/Answers

JAVA JSP and Servlet  August 4, 2010 at 5:42 PM
for sending mail through lan without intenet and also chatting facility for online users using Java JSP & SERVLET code. ... View Questions/Answers

jsp  August 4, 2010 at 3:53 PM
in below code when i will click on edit button than i got value of that department in above textbox....code::<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>... View Questions/Answers

Regarding Simple Web service example  August 4, 2010 at 1:32 PM
hi i am trying to follow the simple web service example in the tutorials and it develops the application in Netbeans IDE using the GlassFish Server . however when i did the same in Netbeans6.9 i could not use the option for UseDatasource . now I enabled all the plugins and my netbeans is not s... View Questions/Answers

java &ms access  August 4, 2010 at 1:09 PM
Seasons Greetings,Am, creating an application for a food festival using Java swing as front end and MS access as Backend.The scenario is:interested employees have to register for the event ,they choosing their choice of food listed using check box.They have to be given a unique id upon s... View Questions/Answers

JAVA Coding  August 4, 2010 at 1:08 PM
Have to write a function that will write out from 1 to 10000 in words.For example if i give "1" as input the output should be "one". I have to give input for that the output should be in words. ... View Questions/Answers

compilation error  August 4, 2010 at 12:42 PM
import java.awt.*;import java.awt.event.*;import javax.swing.*;class BLayout implements ActionListener{JFrame f ;JPanel jp;JButton b[];CardLayout cl;BLayout(String s){jp = new JPanel();cl = new CardLayout();... View Questions/Answers

how to create 3d chart in dojox charting  August 4, 2010 at 11:57 AM
Please provide some example for 3d charting in dojox chart ... View Questions/Answers

jsp error  August 4, 2010 at 11:56 AM
how to remove below error::exception org.apache.jasper.JasperException: java.lang.NullPointerExceptionroot cause java.lang.NullPointerException ... View Questions/Answers

How read xml file value in dojox chart  August 4, 2010 at 11:39 AM
How to read the xml file value in dojox chart ... View Questions/Answers

jsp  August 4, 2010 at 11:38 AM
first i will insert some data to database from same field... that will show in below table... in table there is a button edit ... when i will click on edit button than data will fill up in above fields's from which we have inserted data... ... View Questions/Answers

JAVA Coding  August 4, 2010 at 11:12 AM
Have to write a function that will write out from 1 to 10000 in words.For example if i give "1" as input the output should be "one" ... View Questions/Answers

complilation error  August 4, 2010 at 12:55 AM
import java.awt.*;import javax.swing.*;import javax.swing.event.*;import javax.swing.border.*;public class JListSimpleExample extends JFrame{public static void main(String ...s){new JListSimpleExample(); }private JList sampleJLi... View Questions/Answers

java  August 4, 2010 at 12:11 AM
why notify() and notifyAll() methods are written in Object class not in Thread class? ... View Questions/Answers

java  August 4, 2010 at 12:08 AM
why notify() and notify() methods are written in Object class not in Thread class? ... View Questions/Answers

fingerprint attendance system  August 3, 2010 at 11:30 PM
i have project on attendance management system with a fingerprint scanner.i have my own interface but i have no experience how to begin....please suggest me how to interface connect with fingerprint scanner?I have device setup software which have multiple assemblies, bu... View Questions/Answers

Need to develop Java Program  August 3, 2010 at 10:41 PM
[Mini-Project] Develop a programmer's editor in Java that supports syntax-highlighting, compilation support, debugging support, etc. ... View Questions/Answers

DMCA.com