What is the difference between java6 and java7?
What is the difference between java6 and java7?
Java 6 saw few massive improvements in GUI and API. The difference between Java 6 and Java 7 are in terms of the new features introduced in Java 7. Java 7 saw the upgrading of class loader architecture due to which the underlying resources can get free and the memory gets free as well.
What are Java 7 features?
The important features of JavaSE 7 are try with resource, catching multiple exceptions etc.
- String in switch statement (Java 7)
- Binary Literals (Java 7)
- The try-with-resources (Java 7)
- Caching Multiple Exceptions by single catch (Java 7)
- Underscores in Numeric Literals (Java 7)
What is the difference between Java and java2?
Java 2 is the name for the current Java Platform.It covers all versions of the JDK (Java Development Kit) from v1. 2 onwards. Versions of the the JDK prior to 1.2 (ie 1.0 and 1.1) are not Java 2. Java 2 includes many new classes and language changes.
What are the features of Java 6?
Java SE 6 Features
- Scripting Language Support.
- Performance improvements.
- JAX-WS.
- JDBC 4.0.
- Java Compiler API.
- JAXB 2.0 and StAX parser.
- Pluggable annotations.
- New GC algorithms.
What is Javaw in Java?
javaw: (Java windowed) application executor not associated with console. So no display of output/errors. It can be used to silently push the output/errors to text files. It is mostly used to launch GUI-based applications.
What is the difference between Java 7 and Java 8?
The important features of JavaSE 8 are lambda expressions, methods references, default methods, functional interface, java 8 date/time, stream classes etc. JavaSE 7 Features. The important features of JavaSE 7 are try with resource, catching multiple exceptions etc.
What are the important features of javase 8?
The important features of JavaSE 8 are lambda expressions, methods references, default methods, functional interface, java 8 date/time, stream classes etc. Java 8 Date/Time API (Java 8) Lambda Expressions (Java 8) Method References (Java 8) Functional Interfaces (Java 8) Stream (Java 8) Base64 Encode Decode (Java 8)
What is the difference between J2SE 5 and javase 6?
The important feature of JavaSE 6 is premain method (also known as instrumentation). The important features of J2SE 5 are generics and assertions. Others are auto-boxing, enum, var-args, static import, for-each loop (enhanced for loop etc.
What are the major enhancement made in Java5?
There are major enhancement made in Java5, Java6, Java7 and Java8 like auto-boxing, generics, var-args, java annotations, enum, premain method , lambda expressions, functional interface, method references etc. Most of the interviewers ask questions from this chapter. Do You Know? How to create generic class and generic method in java?