473,606 Members | 3,100 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2932
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.goo glegroups.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
7964
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 as a standard portable part of the core language, the LISP package, and the java.lang package, respectively. Both have big integers, although only LISP has rationals as far as I can tell. Because CL supports keyword arguments, it has a wider range...
54
17378
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 give interviewees seems to trip them up all the time, and I wonder if I'm being too much of a hardass... it seems easy enough to ME, but these guys, when I get them up to the whiteboard, seem to get really confused. The exercise is this:
11
9236
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 C++. I find my self sometimes, trying Object app = Object(); Object *app = Object(); Object app = new Object();
30
9402
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 Java very often. I have no real C++ experience and not much C experience for that matter. However, the core Java statements are "borrowed" from C and C++ has often been called "C with classes". It seems to me that it shouldn't take very long to...
148
5128
by: BillJosephson | last post by:
Want to do OOP. Does c++ have all the abilities of java, or is it some subset? Thanks...
4
1261
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
6272
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 JDK 6 downloadable from http://java.sun.com/javase/downloads/index.jsp. I will be using JDK 5(update 8)
63
4941
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 programmer? Which one will educate me the best?
8
2710
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 hardware. 2). JVM runs on that O/S. 3). A Java program is running on the JVM, and it(JAVA) is used for the programming, as it become more user friendly to the programmers. I need to know whether we can program hardware with just JAVA, without...
0
8036
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8461
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8126
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8317
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6796
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5987
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2454
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1572
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1313
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.