Cup of Jo

I have officially started programming in Java. I have some limited Java experience from my senior year in high school from Programming AP. I didn’t do so hot in the class: the teacher didn’t “teach” me squat. This lack of teaching made for some bad times when finals came along. I had to debug the “Fish” program. To his credit he was a good teacher; he was well versed in BASIC and C++, but I think he had to learn Java alongside me. He taught me many tricks and tips and made me one mean BASIC and C++ coder… just failed to do the Java thing.

Much to my surprise I found my old AP textbook. It cost $30 at the time and taught me quite a bit, but not enough to make anything spectacular. It basically taught me basic input/output. I tried asking for help in the later chapters but as he was learning the language at the same time I was, he was not much help. I remember the basics of Java (I/O), but forgot the dirty details. To show this, this is the classic “Hello World!” programming in Java. This prints “Hello there, world!” to the console.

public class Hello
{
public static void main(String[] args)
{
System.out.println(“Hello there, world!”);
}
}

I know simple things such as if/else, switch, loops, etc., just forget stuff like JFrame. I need to learn JFrame so I can do graphical things! My main goal is to make an IRC client. This is by no means a simple task, even for an experienced programmer. This is my final goal in Java. I must master JFrame and networking to get it all together! The hello world script is pretty much the simplest thing there is. My first gooey goal is a working calculator… only then can I move on to the IRC client! If anyone feels like helping out, send me an e-mail at agardner210@gmail.com.

Posted on May 30, 2017, 8:49 pm By
Categories: Java, Programming