Starting Java

Write here if you have problems with your Java source code

Moderator: Board moderators

Post Reply
Rajib Mazumder
New poster
Posts: 14
Joined: Fri Jul 05, 2002 7:04 pm
Location: Bangladesh
Contact:

Starting Java

Post by Rajib Mazumder »

Hey All
What would be the proper way to start learning Java having no knowledge of Java???

Moni
Experienced poster
Posts: 202
Joined: Fri Mar 22, 2002 2:00 am
Location: Chittagong. CSE - CUET
Contact:

Post by Moni »

:D Rajib!

Isn't it so easy to get a good book!

Ok! For starters:

http://www.apl.jhu.edu/~hall/java/Java-Books.html

Choice and collect one.

And don't forget to download the latest JDK

Good Luck with java..... 8) 8) 8)
ImageWe are all in a circular way, no advances, only moving and moving!

Rajib Mazumder
New poster
Posts: 14
Joined: Fri Jul 05, 2002 7:04 pm
Location: Bangladesh
Contact:

Post by Rajib Mazumder »

Thank you for your kind info. It is very much help full. :D

I am feeling better in coding JAVA when submitting solution of the ACM problems. But it is noticible matter that there are too few solver who are solving problem in JAVA though it is more easier to solve some particular complex or some kind of taugh problem in ACM in JAVA!

veron
New poster
Posts: 29
Joined: Tue Jun 03, 2003 6:38 pm

Post by veron »

yeah, I am also agree with Rajib.

Because java is fully object oriented and also deal with real life.
Also in solving ACM problem, java is much effective.

Now it's time to works on java.So programmer should be try to
solve ACM problem on java.

veron

xbeanx
Experienced poster
Posts: 114
Joined: Wed Jul 30, 2003 10:30 pm
Location: Newfoundland, Canada (St. John's)

Post by xbeanx »

Java is #1 in programming competitions because of its vast API.

Java is bad in practice because it is slow as heck. C++ is the best practical language.

Some programs that take me pages to program in C or C++ take only a few lines in Java. An example would be something that needs arbirtary precision, or stacks, or ... whatever.

Larry
Guru
Posts: 647
Joined: Wed Jun 26, 2002 10:12 pm
Location: Hong Kong and New York City
Contact:

Post by Larry »

The main reason why few people use Java on this site is because it's not fully supported..

veron
New poster
Posts: 29
Joined: Tue Jun 03, 2003 6:38 pm

Post by veron »

Hay,this is the proper reason for using Java for few people.But onething is that using java for acm, it is sometimes much effective than other language.

So, you cannot tell onesidedly that java is not proper languaga for solving acm problems.

I think acm is not so careful on java.we want more user of java on this site.
Now it is time to added for feature of java on the site.

Larry
Guru
Posts: 647
Joined: Wed Jun 26, 2002 10:12 pm
Location: Hong Kong and New York City
Contact:

Post by Larry »

Ya, on a real competition, I usually use Java.. it's easier (for me) to handle strings inputs that way..

veron
New poster
Posts: 29
Joined: Tue Jun 03, 2003 6:38 pm

Post by veron »

Yah,that's good.But using Java is not only easy to handle string but also it have many distinct feature which all are capable for any side of the program.

Although most of the java user show the example of string handling but I think it have prosprective areas.

xbeanx
Experienced poster
Posts: 114
Joined: Wed Jul 30, 2003 10:30 pm
Location: Newfoundland, Canada (St. John's)

Post by xbeanx »

For the last few years I have been bashing JAVA whatever chance I got.

This year, a couple of guys and myself decided we were going to enter a programming contest. It was then that I realized that, to be truly productive, we just had to use JAVA.

Since JAVA has so many built in functions and classes, it would be absurd to use any other language in a competition. Why spend 15 minutes writing a class in C/C++ when JAVA already has one ready for use??

Now, I no longer bash JAVA, because I see its true potential. JAVA has many advantages, including, but not limited to:

Tighter OO
Garbage Collection
Its API
Threads

It also has disadvantages, which I believe may be addressed in the future to make JAVA the leading language for developers. Of these, the most annoying is the VIRTUAL MACHINE...!!! It is a great idea in theory, but it is as slow as hell.

Another disadvantage, IMO, and I'm sure everyone will argue with me, is the absence of pointers.

Yes, pointers! Pointers are a god send. When used correctly they can turn your program into a speed demon.

Post Reply

Return to “Java”