Java is the class-based and object-oriented programming language. In java, you can write once and run anywhere means WORA. Here get the Top 6 new features in Java 2019.
2. IMFROMATION
▰ Java is the programming language.
▰ That is class-based and object-oriented.
▰ Java is one type of the WORA ( Write once run anywhere).
▰ Java is run on any platform with the help of the JVM (Java
Virtual Machine).
▰ Java uses the spring, blade as a backend platform.
▰ Java is the very popular language and their popularity behind
reason is the Platform-independent and java eliminates a lot
of security issues.
2
4. ▰ Refactoring is the one type of the
process which changes only the
structure of the existing program
without affecting its functionality and
usages.
▰ Refactoring is also improving the code
reusability, performance and remove
duplicate functionality and also remove
the functionality which is not used.
▰ SYNTAX:- Trigger rename after extract
to variable/constant/method
▰ Here you can take the special “rename”
action. And use the meaningful name.
See in this image.
NEW REFRACTOR
4
5. PROCESS OF REFACTORING
5
Detect Problem
Is there problem
or not?
And if the
problem then
check what’s the
problem.
Characterize the
Problem
What is the
change
necessary? and
what’s the
benefit after the
changes?
Check that there
are the any
risks?
Design Solution
What should
“Goal state”
code?
Which code
transformations
will move
towards?
Modify the code
Carry out the
Code
transformations
and leave the
code
functioning as
same the
before.
7. EXTRACT TO FIELD
7
• The main reason for the use Extract variables is to make a complex
expression is more understandable.
• The Extract Method refactoring lets you use a code fragment.
• That can be arranged, separate method and also old code with a call
to the method.
• There are use the several time extract method in the same place.
• When you use Extract method there are you need to check for
variables.
• One output variable can be used as a return value for the extracted
method.
• Multiple output variables the extract methods refactoring may not be
applied and the error message resembles.
8. SMART / SEMANTIC
SELECTION API SUPPORT
8
• Semantic selection is also known as smart selection.
• We have achieved the smart select API used with the
Expand Selection (Shift+Alt+Right) and Shrink Selection
(Shift+Alt+Left) commands.
• Here get the more information about that.
• https://code.visualstudio.com/updates/v1_33#_smart-
select-api
10. MAVEN IMPROVEMENTS
10
• Maven was released in 2004.
• It has raised a few of the problem of ANT.
• Maven is use the XML as the format write build script.
• It has the drawback is that Dependencies management does
not handle conflicts well between different version of the
same library.
• And other draw back is that customization of the goal is too
much hard.
11. GRADLE PREFERENCES
11
• Gradle was released in 2012.
• Google adopted the Gradle as a default build
tool for the Android.
• Maven use the XML where as Gradle does not
use the XML.
• It has own DSL based on JVM languages.
• Gradle used Apache lvy for its dependency
management.
13. CHECKSTZLE SUPPORT
13
• Check style is Java web development tool and it helps to
programmers write java code.
• It has the main features is that checkstyle can check the many
aspects of your source code.
• Standard checkstyle are applicable to general java coding style and
require no external libraries.
14. CONCLUSION
14
• So here present the features of the Java
Development in 2019.
• Day by day java is also released new features and
versions also.
• It make more simple and fulfill all the requirements of
the developers.
• And developers have always updated with the java.
15. AEGIS SOFTTECH
OFFSHORE SOFTWARE DEVELOPMENT
COMPANY
You can find at:
www.aegissofttech.com
info@aegissofttech.com
@AegisSofttech
15