I’ve been out of work a total of two days. It’s not so bad. I can kind of get used to this. I’ll be working next week at the telecom gig writing Java code for the new billing system starting Monday. I’ve been writing quite a bit of Java recently and have been getting fairly good at it. I’m picking up a ton of stuff along the way. It’s so much easier then C++. Threaded programming in C++ is kind of bogus to have to do, but in Java its a snap.
Threads in Java:
public class TwoThreads{ public static class Thread1 extends Thread{ public void run(){ System.out.println("A"); try{ Thread.sleep(10); }catch(Exception e){ System.out.println("Sleep failed"); System.exit(1); } System.out.println("B"); } } public static class Thread2 extends Thread{ public void run(){ System.out.println("1"); System.out.println("2"); } } public static void main(String args[]){ new Thread1().start(); new Thread2().start(); } }
see, it doesn’t get much easier then that.
I digress.
Anywho, I’ll keep you posted on the new full-time gig here next week. I should have some news in that area to announce soon.