Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the ten most useless features of Java?

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Java ten most useless features specific what, many novices are not very clear about this, in order to help you solve this problem, the following small series will be explained in detail for everyone, there are people who need this to learn, I hope you can gain something.

1) const,goto

What's that? Yes, they are Java keywords, but they do nothing.

2) Java is interesting.

Java Personal, Java OS.

3) Indexed Jar

An indexed Jar is one that contains a special index file (META-INF/INDEX.LIST) that specifies which packages are in the Jar. In Ant, index="true" is available. Its purpose is to delay loading Jar files for Applet and Webstart applications and to speed up class loading.

4) Most exe files in bin directory

For example, javah.exe, javadoc.exe, jdb.exe, jar.exe. They have been replaced by Ant, Maven, and IDE.

Although less direct use of these tools is possible, learning to use them can be beneficial. For example, at some point we don't have Ant, Maven, or Eclipse handy, especially if it's just for simple applications, and it's easier to use commands directly.

5) Applet

It was popular 10 years ago, and its popularity has been declining ever since. Applet will make a comeback in Java SE 6 update 10.

Translator: Applet still has room for it. If anything, it's the whole Java desktop application.

6) CORBA

This API may win out from the developer's "API you want to remove most from Java" contest.

javax.accessibility and accessibility

This package started with Java 1.2, but it hasn't been used much since. On the one hand, Swing does do a lot for you, but on the other hand, it can't do everything for you. In particular, empty text boxes and text fields need to be specified.

8) MIDI library

Yes, Java has built-in MIDI APIs, so Java has been able to play music since 1.1. At that time, they added a sound library, sound quality sounds better. Now, the sound library isn't as good as the sound card sounds.

When it comes to modular JRE, CORBA is considered most of the time not to be downloaded, and the Audio Library API is probably the least needed.

9) Java 6 API

This is where Apple is most to blame, because they decided not to support Java 6 on the 32-bit platform, so there are many APIs and programs blocked in Java 5.

10) Assertion

In Java 1.4, Sun added assertions. I remember some comments at the time about Java's lack of assertions/pre/post conditions, so I added this feature. But let's face it, assertions are rarely used.

Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report