What parts of Java SE is NOT used in Android development? [closed] - java

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
threads are not used, generics are not used.
Android uses only fraction of Java features, i know this, but what parts are NOT used?
p.s. this is not opinion type of question - i m asking about actual parts, i.e. specific answer, facts.

my opinion: threads are not used, generics are not used.
That's wrong. The whole java.util.concurrent package was ported up to java 1.6. And Generics are also full supported. What is not yet in, is the new java 1.8 features, like streams and lambda, and part of java 1.7, the new File.NIO 2

How about AWT and Swing? Android has it's own UI Framework.

Related

What are some of the major differences between Java 7 and Java 8? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I wanted to know what makes java 8 different from java 7.
Why should/should'nt I upgrade to java 8 from java 7? Please list the differences.
There are many new features in JDK 8, including enhancements to Collections, new security features, and even additions to the Java programming language (e.g., Lambda expressions). Your best bet is to take a look at What's New in JDK 8 as there are too many to list cleanly here.
As for why you might not want to update immediately, here is the Compatibility Guide for JDK 8, which lists incompatibilities between JDKs 7 and 8.

Am I learning the right version of Java? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I want to start making apps for android in Eclipse, and I have bought a book which will teach me about Java 2 (J2SE 5.0) from Ivor Horton. Will this knowledge of Java be good for Android apps, or is it completely outdated?
No version of Java is truly 'outdated' in the sense I think you mean. There has since been a great deal of extra functionality added to the language, but not removed.
So you may not learn about some things that are now possible with the language, but nothing you learn is likely to have gone out of date except some smalls exception with regards to Java applets (which are not really relevant in Android development anyway).
Android is now capable of handling Java 7 code, so it probably wouldn't be worth learning the in-and-outs of Java 8 if your learning it specifically for Android development.

Can the implementation of the Java EE specification be more efficient in Scala? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I was wonderning efficiency of implemeting some Java EE APIs in Scala but not all of them. For instance JNDI would be faster in Scala because we can take advantage of supporting of high order function and so on.
I am interesting in which APIs implementation can be replaced for improve the effectiveness.
The logically correct answer is: no.
Both results run on the same JVM, so both implementations can be exactly the same in terms of processing efficiency. That Scala offers different language features doesn't change that.

what is the best way to learn new Java features since java 1.4.2 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I recently started to use Java for work, but I am mostly doing it using my early knowledge about java 1.4. I am aware that there are a great number of new Java features (which I know some, but not thorough enough).
What is the most effective way to learn those new features, instead of reading those fundamental books with a lot of content I already know.
Check what's new in Java 1.5, Java 1.6 and Java 1.7

program in java to get info about Ram [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want a program to get information about RAM
How can i do that?
There's a couple of memory-related methods in the Runtime class, but note that they only give information about the amount of memory available to (or used by) the JVM, not the hardware it runs on.
Generally, Java is the wrong language to do this kind of thing, since it requires access to OS APIs that Java does not provide.
Most of the information you need will be contained in the Runtime class. Have a look at the link. It should be straightforward. If you run into problems with it, I will try to help you out further.

Categories