Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Your Favourite Area of the Java API?

I'm curious to know what other Java programmers feel is their favorite part of the language, why they feel that way, and why other programmers should want an intimate knowledge of it as well. I'm looking for reasons like simplicity, performance, etc. Thanks.

like image 380
Aaron Avatar asked Sep 19 '08 17:09

Aaron


People also ask

What are the areas of Java?

Java is divided into four administrative provinces: Banten, West Java, Central Java, and East Java, and two special regions, Jakarta and Yogyakarta.

What is the Java API and why is it useful?

What Are Java APIs? APIs are important software components bundled with the JDK. APIs in Java include classes, interfaces, and user Interfaces. They enable developers to integrate various applications and websites and offer real-time information.

What is the best thing about Java?

Java™ has significant advantages over other languages and environments that make it suitable for just about any programming task. The advantages of Java are as follows: Java is easy to learn. Java was designed to be easy to use and is therefore easy to write, compile, debug, and learn than other programming languages.

Why is Java your favorite?

One of the biggest reasons why Java is so popular is the platform independence. Programs can run on several different types of computer; as long as the computer has a Java Runtime Environment (JRE) installed, a Java program can run on it.


2 Answers

My favourite Java API is the Collections Framework. I find myself using it all the time instead of rolling my own implementations, and it is highly enjoyable and simple to use. It consists of several useful and interchangeable implementations of high-performance data structures and algorithms, as well as several convenience methods for wrapping additional functionality around them.

A tutorial by Josh Bloch can be found here: http://java.sun.com/docs/books/tutorial/collections/index.html

like image 89
Aaron Avatar answered Oct 06 '22 03:10

Aaron


My favorite part of the API is definitely java.lang. It has this class called String, which allows you to easily manipulate arrays of characters. Any programmer who is serious about writing good Java code should check it out.

like image 36
Michael Avatar answered Oct 06 '22 03:10

Michael