473,398 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Java Basics.

I have been learning perl and C++, and I have been looking into Java.
I know very little about the language, I have found some realy bad
books that realy served to confues me and I have to find medicore C++
books to explain objects. Now working with C++ and perl understand
object oriented programming. I know that Java is realy good for the
web and applets, but how is java for sprites and graphics? Are there
good built in libraries for GUI and other graphical projects. I have
seen the basics of Java and see little benifit over C++ other than its
web usefulness.

How would it compare to perl/TK and how dificult is it to create a
program that Uses GUIS and graphics?

Jul 18 '05 #1
1 2912
Hi,

I don't know if you've received an answer to your query yet, but here we go:

There are lots of good books on the market. I teach Java, and from a
beginners point of view, a book like "Objects first with BlueJ" gives a very
good introduction to OOP using Java.

Java is not a web-language. You can use Java to write almost any type of
applications, from large client/server solutions (using J2EE) to small
embedded applications running on your mobile phone (using J2ME).

One of the major benefits I find in using Java compared to C++ is that the
language of Java is 100% pure OO (which C++ is NOT). Also it has a vast
library that covers anything from maths, networking (TCP/IP, HTTP, RMI
etc.), through multithreading, components for creating GUI (Swing), a
separat library for managing and manipulating images (Java2D), and even a
DirectX/OpenGL based 3D-library (Java 3D). And best of all: all of these
libraries are standardized and included in the standard framework, and for
free !! What do you get with C++ ? Basically the STL.....the rest you need
to get from third-parties (for free, if you're lucky, or for $), not
standardized accross platforms, and developer tools/IDEs.

Sadly Java has been know to be a web-programming language, which it of
course also is. But if you look at the history of Java, you will see that it
really originated from the embedded SW development....

Hence I would recommend you to take a second look at Java before you throw
it away.

Arne

PS! Just for the record: even though I personally find Java to be the best
language and platform/framwork I've been developing SW in, there are areas
where the Java platform and concept of "Write Once Rune Everywhere" might
not be as suitable as for instance C++....I.e. Java is NOT the solution for
ALL problems in the SW-world...

"enki" <en*****@yahoo.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
I have been learning perl and C++, and I have been looking into Java.
I know very little about the language, I have found some realy bad
books that realy served to confues me and I have to find medicore C++
books to explain objects. Now working with C++ and perl understand
object oriented programming. I know that Java is realy good for the
web and applets, but how is java for sprites and graphics? Are there
good built in libraries for GUI and other graphical projects. I have
seen the basics of Java and see little benifit over C++ other than its
web usefulness.

How would it compare to perl/TK and how dificult is it to create a
program that Uses GUIS and graphics?

Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

73
by: RobertMaas | last post by:
After many years of using LISP, I'm taking a class in Java and finding the two roughly comparable in some ways and very different in other ways. Each has a decent size library of useful utilities...
54
by: Spammay Blockay | last post by:
I've been tasked with doing technical interviews at my company, and I have generally ask a range of OO, Java, and "good programming technique" concepts. However, one of my favorite exercises I...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
30
by: Rhino | last post by:
I am giving some thought to applying for some jobs that want people with Java and C++ experience. I have been writing Java for several years and am fluent enough that I don't have to get help with...
148
by: BillJosephson | last post by:
Want to do OOP. Does c++ have all the abilities of java, or is it some subset? Thanks...
4
Ali Rizwan
by: Ali Rizwan | last post by:
Hi everybody i m new in java and i want to know java basics its syntax and how to use and how can i install java. Plz help me Thanx
5
by: r035198x | last post by:
Setting up. Getting started To get started with java, one must download and install a version of Sun's JDK (Java Development Kit). The newest release at the time of writting this article is...
63
by: s0suk3 | last post by:
I've been programming Python for a couple of years now. Now I'm looking to move on to either C++ or Java, but I'm not sure which. Which one do you think will be a better transition for a Python...
8
intruderX
by: intruderX | last post by:
When programing robots with java, how they program hardware with java? Can java do the port programming? Or it is done in some other way? for an example... 1). A basic O/S is running to work with...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.