Is Java the go-to language for AP Computer Science?

Click For Summary

Discussion Overview

The discussion revolves around the use of Java in an AP Computer Science class, exploring its characteristics, similarities to other programming languages, and its applications in various domains. Participants share their understanding of Java's role in education and industry, particularly in relation to object-oriented programming (OOP) and graphical user interface (GUI) development.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants describe Java as similar to C++, emphasizing its object-oriented nature and portability across systems.
  • One participant notes that Java is particularly suited for GUI programming, while also mentioning its limitations in system administration tasks.
  • Another participant argues that Java's significance has shifted from GUI applications to supporting middle-tier Internet applications, suggesting that its relevance for GUIs is outdated.
  • There is a mention of Java's industry backing and its evolution in response to the rise of the Internet, highlighting its use in server-side applications.
  • Some participants express differing views on why Java was chosen for the AP Computer Science class, with one attributing it to OOP education and another citing industry demand.
  • A participant points out that while Java is widely used, it may not be the best implementation of object-oriented principles compared to languages like Smalltalk.

Areas of Agreement / Disagreement

Participants express a mix of agreement and disagreement regarding Java's applications and its selection for the AP Computer Science curriculum. While some acknowledge its strengths in GUI and industry relevance, others contest the notion that GUI programming is its primary strength today.

Contextual Notes

Participants' views reflect a range of assumptions about Java's capabilities and its role in education, with some points remaining unresolved regarding its current relevance in various programming contexts.

Who May Find This Useful

Students preparing for AP Computer Science, educators considering curriculum choices, and individuals interested in the applications of Java in industry.

courtrigrad
Messages
1,236
Reaction score
2
Hello all

I will be taking an AP Computer Science class this year. We will be learning Java. Can anyone give me a quick understanding of Java? What are its uses? Is it similar to C?

Thanks
 
Technology news on Phys.org
From my understanding and usage Java is more like C++. Sort of a trimmed down version. This isn't exactly bad. Java still has classes and such and is *very* object oriented. After learning Java you should have a fairly decent concept of what OOP is, which is probably the choice they chose Java for your class. Java's goal is essentially portability, taking an application from one system to another and having it work without hassle. Java does a rather decent job of this by allowing source code to be compiled as neutral bytecode, or code that will run on any system as long as it has the correct Java runtime libraries. Java also offers a more, performance in mind solution called native bytecode, in which a Java compiler compiles code for the specific platform and operating system. If I compile Java program "generic" for x86/Win32 and try to execute "generic" on PPC/Mac OS X, it won't work. Java, in my opinion, is a programming language more suited for GUI programming and not system administration. While you can execute external programs and modify files, this isn't Java's cup of tea. Java shines when doing any short of graphical interface. Hope this helped a bit.
 
courtrigrad said:
Hello all

I will be taking an AP Computer Science class this year. We will be learning Java. Can anyone give me a quick understanding of Java? What are its uses? Is it similar to C?

Thanks

http://www.hprog.org/fhp/JavaLanguage
 
Last edited by a moderator:
courtrigrad said:
Hello all

I will be taking an AP Computer Science class this year. We will be learning Java. Can anyone give me a quick understanding of Java? What are its uses? Is it similar to C?

Thanks
Java is an excellent language to learn. It is not the best language in every way, but it has tremendous indurstry backing.

Java follows C syntax fairly closely. It is an object-oriented language, as is C++, but it is an attempt to avoid many of the problems with C++ and remove some of the complexity.

Java has a wide range of uses. The original ideas for Java did not cause it to take off, and it is only with the rise of the Internet that Java has become so important. The main use of Java is still for the Internet. Initially Java Applets, which are programs that are downloaded to the client and run on the clint, were the rage. This has in recent years progressively moved to server-side code, such as Servlets and Java-Server pages, which are used for web page delivery.

There are several other uses for Java, including enterprise Java beans, graphical user interfaces, and code embedded in appliances.
 
graphic7 said:
After learning Java you should have a fairly decent concept of what OOP is, which is probably the choice they chose Java for your class.
I disagree. Most likely, they selected Java due to the significant industry demand for it.

Java, in my opinion, is a programming language more suited for GUI programming ... Java shines when doing any short of graphical interface.
You have stated this as your opinion, and as such it is valid. I do agree that Java provdes powerful support for GUI development. However, I consider that the importance of Java for GUIs is years out of date. In my opinion, Java is now more important for middle tier Internet application support, among other applications.
 
Last edited:
Java's never had the reputation as being the best OO implementation (Smalltalk is the real taker here), but you're probably right sadly. Classes taught only for the reason of corporate demand.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
8
Views
3K
Replies
86
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
Replies
46
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K