32,205 Topics
| |
hey guys, im in ap computer science (java) and now we are doing constructors, and i am lost, i dont know how to make a constructor, i am soooo clueless, im starting to pick up but no way near close to undresstanding, can someone give me a crash course in … | |
hi all, i am a beginner in java programming.Could anyone please provide source code for the following program. A program that reads a integer and breaks it into a sequence of individual digits in reverse order.TQ. | |
hey all what are pros of jdic ref avilable at java.net try this........................... | |
hi everyone, pls solve me the following problem. i need a java program that stores the following string in a two-dimensional char array : "Bell" "Dell","Hell" and "Sell".extend the programe to read the array and display each caracter in a console window. thank you. shantuli | |
I really like to play chess and thought about trying to actually make a chess game. Only im not sure were to even start. If anyone in here has ever done this can you give me some tips on how to get started and how difficult of a task this … | |
hi everyone, can anyone pls solve me the following problem. i need a java program that holds at least three records for friendsof your in memory.each record must consist of at least : a name and an e-mail address the program must also able to find each record if the … | |
Hi, ive only started to program in Java for the last couple of days. I picked up a disk containing JDK 1.3 from my uni so that I can compile programs at home. I typed up this very simple program which is shown below public class Hello { public static … | |
I don't understand how to used [B]Interfaces[/B] WindowListener and [B]Methods[/B] of it. Please for give me example. Thanks! | |
Hi Everyone, I am writing a program to convert measurements. I need the to program to have a menu. I have different units of measure to convert to one particular one. I think that I need to use a case statement. But I have no idea on how to construct … | |
Well I got the whole substring thing working.. thanks a lot. Now I've gotta struggle with the "stdin.readline()" which doesn't wanna work for some odd reason :P I imported the java.io.* i created a new BufferedReader ... and it just doesn't wanna work. Are there any other ways of getting … | |
Hi everyone, I am trying to save the entire jtable (as an object if possible) to my disk and then be able to read that same file in the same table. First there are two buttons on my frame one is "load" and the other "save as" when the save … | |
I need some help!! I need to have a user input a phone number and then spit it out using StringTokenizer. This is what I have so far: import java.util.*; import java.io.*; class Prob8_2 { public static void main (String []args)throws IOException { BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in)); … | |
This is urgent! I need an I/O code by today but I have no idea how to do it. Could anyone help a poor guy like me and maybe have some Java practice by writing a short code using the following information? I'll learn how it works later! Just help … | |
| Hi everyone I am new to java and am writing a program thats meant to have the following terminal output... Enter a number: 29 29 is a prime number. Enter a number: -7 Please enter a positive integer. Enter a number: 45 45 is not a prime number. Enter a … |
hi, can anybody help me , i need the following program to be developed in J2ME. writting screen saver program using J2ME. so if anybody know about this , pls help me regards, prakash | |
Hi this is Salman.I am having a problem is linear search.The program doesnt compile giving the error "No method found matching linsearch".My code is class search{ public static void main(String args[]){ int A[]=new int[1000]; for(int i=0;i<A.length;i++){ A[i]=(int) (1000*Math.random() +1); System.out.println(linSearch(799, A[i])); } } } class searching{ public static int linSearch … | |
Ok i have gotten stuck on this program and I need help This program is supposed to calculate the balance of a checking account after the user has entered the type of action (withdrawl, deposit) they would like to do. My output should be a report that prints the beginning … | |
My program for school requires me to output information as such... Name: Steve Address: 123 Main Phone# 555-5555 Social SecuritY# 555-555-555 Current Hours: 0.0 Name: Mary Address: 13 Manor Phone# 555-5555 Social SecuritY# 555-555-555 Paid:846.15 Name: Gwen Address: 1 Birch Phone# 555-5555 Social SecuritY# 555-555-555 Current Hours: 2.0 Paid: 17.1 … | |
I need urgent help with the following problem: Suppose there is a class AirConditioner . The class supports the following behaviors : turning the air conditioner on and off. The following methods are provided for these behaviors : turnOn and turnOff . Both methods accept no arguments and return no value . There … | |
Hi! I have some questions on Java: Write a literal representing the largestcharacter value . I think the aswer is: Del 1 more question: You are given a class named Clock that has three instance variables : One of type int called hours , another of type boolean called isTicking , and the … | |
G'day.. Am new to this whole object oriented stuff. But keen to learn. Am trying to compile this class but keep getting the following error when i declare anything that 'implements'. i remove the declarations and all subsequent code references and she compiles.. any ideas?? *********************START_OF_ERROR********************** ChatClientApplication.java:6: ChatClientApplication is not … | |
I don't understand constructors. Can anybod help? The question is: You are given | |
Hi there. My name is Diana Thomas. I am a junior Java Developer who needs a bit of help. I am trying to automatically send e-mails from my Java servlets. I am using JDeveloper with Oracle 10g. I have got the mail.jar and the activation.jar from the JavaMail and JavaBeans … | |
Hi, im using a code snippet found on this website, ylinderVolume A simplistic program to compute the volume of a cylinder when its radius and length are input via MyInput.class code snippet donated to daniweb by: cscgal ( all code snippets bycscgal ) views: 52 syntax language: java122 package … | |
Hi everyone, I am doing a simple program that the user is able to select whatever folders(not files) in the drive(through the argument of the folderpaste function) and is able to paste the folders (with their contents) in the the path "C:" but i think my main problem is that … | |
Hi, The following code compiles and runs fine from the hard drive but does not compile fine from a floppy disk. It gives me a cannot resolve symbol error for the DataSet dataSet = new DataSet(); line. Any ideas? The program is supposed to except user input for 4 integers … | |
I need a simple script to show the user a “wait while I process | |
hi, I am trying to create a 2 dimmensional array that reads data from a text file using a buffer reader and tokenizer to separate the information in the text file. As far as using the buffer reader to read from text file it seems to work but when i … | |
Is it possible to make a timer that counts down to a cerrtin day and time also is it possible to make it display some where but not in the way | |
i'm creating a guestbook in java wherein it gets inputs(name,message) from a user then it will store this as an object. it basically works like a guestbook in webpages only that it will have a delete option. how can i do this? can anyone give me an idea please. |
The End.