32,204 Topics
| |
I have to update 5 tables simultaniously which are inter related with each other. My requirement is if all tables are updated successfully then all the updates will be commited. if any one of the query is failed due to some reason all the queried should be rolledback. The way … | |
Hi, Is it possible to compare files by hash code? If so how do I do this. I am attempting to locate duplicates. Simply calling the file.sashCode() generates a hash code but if a duplicate file is located the hash code if different, depending on name and location. Naturally you … | |
i really need help on this, i need code for this project, please help me, thanks in advance.. (Power Set) Given an input set with entries separated by commas, output all the possible sets that can be generated from this set. Sets are described in the file power.txt The lines … | |
Hi I have a LinkedList of class called Room. Now i want display elements that i stored in that class . i also implemented toString() in my Room class which returns string. The code i tried is below but its not working . i dont know the reason . can … | |
Hi. If given an arraylist in an interface like this: [code] interface Dictionary { public boolean hasWord(String word); public ArrayList<String> suggestions( String word ); public void addWord( String word ); } [/code] How do I use it? If I try to use it as a normal arraylist, I get the … | |
Currently am doing my project on designing of IVR VoIP based system. After byilding the PBX using asterisk,its time now to develop the application Is any one with java source code to that task..please send that to me my e-mail is <snip email> | |
Hi All, I am new to programming. just moved from QA. I had a urge to become a s/w programmer. i did. but got lot of tensions since i have been put in realtime. have to learn java,javascript,jsp and javabeans. i am just wondering how logics would come for me … | |
Please tell me message driven bean can be public or private? also for session bean, it can be public or private? Thanks | |
Hi all, first time user on this website and I'm very new to Java so I'm kind of stuck on this I would appreciate any help I can get. My assignment is as follows and I got everything except one last part that I cant figure out how to write … | |
I have to create a temperature conversion project using a method and driver class...... i did it b4 put only as one file , i started the driver class but when i compile i get a couple errors; the errors i get are: Degree.java:30: illegal start of expression public double … | |
Hello, I just started using Netbeans and, well, found it quite interesting. I've been working with Java but not fully with JFrames and stuff like that. What I want to know from anyone who has worked with Netbeans, how do I make a label fit within a sizeable JFrame, where … | |
Hi all, I have an HashMap with key/value pair. The program processes each element of the hashMap, and should mark the HashMap element as "processed". i.e. I have the follwoing key/value pair. [code] 1/"090003453bc454" 2/"090003453bc455" 3/"090003453bc456" and so on... [/code] So, when the program process each element, it should mark … | |
I Need find tools for my project , has someone know, tools for code generated write with java code .... i've try to use appfuse but i still find another tools for that ... please help ... Thanks | |
I am in 10th grade and I am learning java. Could you please tell the difference between the Stream tokenizer and String tokenizer. I found it in my notes and could not understand its concept (as it was given in a very complicated manner). Please explain in simple language. Any … | |
for some reason my code is not going into the for loop. i completely skips it. any ideas?? [code=java] private ArrayList<Investment> investments = new ArrayList<Investment>(); public String toString() { String outPut; outPut = "Account" + " " + super.getId() + "\n"; for(int i=0; i < investments.size(); i++) { //outPut += … | |
i am working on a program using stacks. what i have so far is reading in the line and pushing operands/operators into their respective stacks. My teacher has us using a MyArrayList class, therefore we have to extend to that class and use its methods instead of using the Stack … | |
[code]import java.awt.*; import java.applet.*; import java.util.Scanner; import java.io.*; public class SuperSaver extends Applet { TextField inputField; Button saveButton; Button clearButton; Label titleLabel; public void init() { setLayout(null); titleLabel = new Label("Super saver"); titleLabel.reshape(260,20,80,30); add(titleLabel); inputField = new TextField(); inputField.reshape(100,60,400,100); add(inputField); saveButton = new Button("SAVE"); saveButton.reshape(100,175,70,30); add(saveButton); clearButton = new Button("CLEAR"); … | |
I am learning to write java programs but I really am not any good. My programs run but with a whole bunch of glitches. I have to write a java application that is like an inventory program. It has to have a product class obviously but it needs to hold … | |
Can someone help me how to read and write text file using Java Code... ??? Thanks in advance.. | |
could anyone tell me what are Armstrong numbers and pascal's pyramid. | |
Hey all. Iam new to java and I have been trying to do something that has played me abit. I want to use an attribute or a method from a subclass and accesing it from the super class. Something like this [code] class A{ //some code } class B extends … | |
hello, everybody I m final year computer engineering student.I m very much interested in DBMS,java, and all programming stuffs.I have to do a project on DB and java... programming if required,... can u pls suggest some topics and give me resources i need to have(like mysqlor oracle 9i,vb .. etc.etc..)to … | |
I observed that many programmers do not create separate functions. They write the whole program in the main function. Doesn't this reduce its modularity? eg:[code] class abc { public static void main(String args[]) { int a=10; System.out.println(++a); } }[/code] it could also be written as:- [code] class abc { private … | |
hello everyone, am new member in this forum, i found it very interesting, specially cuz am an IT student in university of wollongong in Dubai, i have an assignment which i have to submit by tmw, so if any one cld help i'd be thankful, i tried solving it but … | |
its a question from the exam UDDI is registry & repository? please tell me its only registry or both | |
I have an application in Java. Each time a new database is added we have to make changes in java file which reads from properties file and compile it I want to make a property file and each time a new database is added just change in that file and … | |
You are required to design, implement, and test a program that will will read in a file consisting of a grid of letters and write a file containing all possible combinations of adjacent letters that spell words in a dictionary. Words with fewer than three characters should not be considered. … | |
Hi Folks:) , Problem: how to run unix "find" Command in Java Program using Cygwin Environment. I have been using the Runtime & Process classes to run the unix commands in java program,i can able to run the grep ,cat command etc.. But i Couldn't able to run the "find" … | |
HI my project involves making an index structure for a corporate or intranet. hence i need to store the urls in one file and then one by one count the frequency of a pre-specified word in each of these urls. i haev already made a package containing classes to count … | |
hey guys, i'm really stuck on this program. It's basically a survey and I have to ask people what drinks they like. 1-4, coffee tea oj and lemonade. i'm having trouble counting the TOTAL NUMBER OF PEOPLE and counting how many people pick coffee tea oj or lemonade. i have … |
The End.