Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~21.5K People Reached
About Me

I swim through and around the problem at hand, observing the pieces from all angles, and building the picture. The answers to the most difficult problems sometimes come while I'm not focussing on them - sleeping or working on something else. Once I have…

Interests
I love the universe where we live. So vast, so enticing. I'm intrigued with the history of life on earth…
PC Specs
It's a reasonably old-spec Intel dual-core 2.8GHz processor with 1Gb RAM, running Ubuntu 11.04. Runs…
Favorite Forums
Favorite Tags
Member Avatar for rhea_6

package student; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); StudentA stud1 = new StudentA(); System.out.print("Please Enter Student Name:"); stud1.Name = scan.next(); System.out.print("Please Enter Student ID:"); stud1.StudentID = scan.next(); System.out.print("Please Enter Course:"); stud1.Course = scan.next(); System.out.print("Please Enter Student Section:"); stud1.Section = …

Member Avatar for Paul Norris
0
84
Member Avatar for Cyril1

I have two different files, fileA contains employee data (ID and townCode) while file B contains field office data (OfficeID, Town, TownCode, officeCapacity) and a town can contain more than one office. i want to distribute these employees to the offices in the town against their names evenly What I …

Member Avatar for Paul Norris
0
170
Member Avatar for MukeshZ

Hi, I want to read csv (Comma Separated Values) file content in VB.Net I want read entire values in file store in the fixed blocks ( say array ) Please guide me for reading the csv file content in VB.Net. Also how to get count of the data in csv …

Member Avatar for deceptikon
0
19K
Member Avatar for B204

Following code is for deleting elemnt from array but it shows NullPointerException at **if(names[k].equals(user))** ... how to remove it!!! public class del_array { public static void main(String s[]) { String names[ ] = new String [10]; names[0]="admin"; names[1]="b"; names[3]="m"; String user="b"; for(int k=0;k<names.length;k++) { if(names[k].equals(user)) { String item=names[k]; for(int j=k;j<names.length-1;j++) …

Member Avatar for stultuske
0
191
Member Avatar for Unsated

Hello everyone and thanks in advance for helping me. I'm a 1st year java student in my first semester of college. Its comming towards the end of the semester and finals are starting up.. well my problem is that my java teacher decided to give us 2 projects to work …

Member Avatar for Unsated
0
355
Member Avatar for Paul Norris

This question is a bit academic now as my contract at this place is coming rapidly to a close. But for future reference, I'd be very interested in the answer. We're talking about .Net 2.0 and Visual Studio 2005. Don't limit your responses to this platform though; I'm interested in …

Member Avatar for adam_k
0
244
Member Avatar for Daigan

[CODE]private double convertLiquid (double none2 ,char unit2, char amount2) { if (unit == 1) return (amount * 33.8140227); else if (unit == 2) return (amount * 0.001); if (unit == 3) return (amount * 1000); if (unit == 4) return (amount * 0.00852167911); if (unit == 5) return (amount * …

Member Avatar for javaNooblet
0
135
Member Avatar for anand01

Hi all when i run the following code [CODE]TreeSet<Integer> s = new TreeSet<Integer>(); TreeSet<Integer> subs = new TreeSet<Integer>(); for(int i = 606; i < 613; i++) if(i%2 == 0) s.add(i); subs = (TreeSet)s.subSet(606,true, 630,true); s.add(629); s.add(630); System.out.println(s + " " + subs); [/CODE] the O/P is [606, 608, 610, 612, …

Member Avatar for anand01
0
127
Member Avatar for pxndx

Hey guys, Well I had a few questions, so I have an employee Database with id,fname,lname,dep and I wasn't sure if I should do and Employee class whit constructor and what not, and make the class read the information form the Database and then create and ArrayList<employee> and fill it …

Member Avatar for Paul Norris
0
176
Member Avatar for anand01

Hi all , I plan to do java certification which version should i do , please suggest me and I am beginner 1Z0-853 (OR) OCPJP 6 --1Z0-851 (OR) OCPJP 7 --1Z0-804

Member Avatar for anand01
0
89
Member Avatar for DaniwebOS

So my goal is to use inheritance and as you can see I inherited Point Example which has x, y as variables. Well for some odd reason my Length seems to be in correct and I'm not sure where I went wrong. Any guidance will be very much appreciated. Just …

Member Avatar for Paul Norris
0
156
Member Avatar for Daigan

[CODE]public void mainmenu () { title (); System.out.println ("If you wish to exit press 5, if you want to go the intro press 2, and if you want to continue 3:"); do { try { procstr = c.readLine (); proc = Integer.parseInt (procstr); if (proc == 3) askData (); if …

Member Avatar for Paul Norris
0
130
Member Avatar for Paul Norris

I've seen a lot of posts over time relating to importing and exporting CSV. Most of the answers involve using TextReader.readline and String.split, [B]which will not work[/B] with any but the simplest data. When you are writing for users who have the expectation that your application will work with anything …

Member Avatar for Paul Norris
0
322