Brian Hazzard

Greenhorn
+ Follow
since Apr 26, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Brian Hazzard

My current mode of working with Java is very much as a desktop application programming language. When I need to develop a web application I tend to think PHP with a cool framework (like Qcodo) to keep it well designed and organized. But I long for one platform that can do it all, and while I know that Java can fill that void, I have always found Java to be cumbersome as a web application language.

In my research I have heard a lot of buzz about the stack of Java with Hibernate, Spring and Struts, but I cannot honestly say I understand each framework's role in implementing a web app. Could someone please help me clarify the role of Struts in web applications?

Thank you,
Brian
16 years ago
In the dotCom class the .checkyourself method sets the isAlive boolean to false if it is a kill, thats when the while breaks.

As far as scope of result... I honestly don't understand what you mean. I am new to the language, could you please explain what scope is?

Thanks,
Brian
16 years ago
Anil,

I've always been curious. I have limited knowledge, but I have learned about .NET and it seems that in that framework, Visual Basic is just as good to know as C#, because in the end its all .net MSIL.

So why did you choose to become a C# developer, when you can do the same with Visual Basic?
16 years ago
While we are on the topic though... I had a similar problem also when I was developing it in my simplified version. I got this error code:



and here is the SimpleDotComGame class:

16 years ago
Thanks keith, for keeping it vague so its a challenge. I appreciate that because I am here to learn!!
16 years ago
Well, thanks again for your help. It turns out that you were right. There was a missing bracket after the else in the if/else statement. I found it only moments after I posted the code... silly me.

Thanks so much for your help guys (girls?)!
16 years ago
Thanks for your replies. Of course I will post my code, which is also available in Head First Java:



If you see something I've neglected, or need to see my other classes, just let me know.
16 years ago
I am currently learning java by way of the book Head First Java. I'm at the point in the book where we are doing the DotComBust example game (its just like battleship). If you are familiar with this book example, or just know what the problem below is, please help me out. I have gotten all the bugs out except for the ones listed below:

16 years ago