Other
What is encapsulation in Java?
078
What is encapsulation in Java? This question comes up a lot in Java developer interviews. Encapsulation is hiding the implementation with access modifiers
ASJAVA.COM
Other
What is inheritance in Java?
067
What is inheritance in Java? Answer Inheritance means that one class can inherit (“extends”) another class. Thus, you can reuse the code from the class
ASJAVA.COM
Other
What are the features of Java?
059
What are the features of Java? Answer: OOP concepts: object-oriented; inheritance; encapsulation; polymorphism; abstract. Cross-platform: A Java program
ASJAVA.COM
Other
What is NullReferenceException and how can I fix the code?
056
When I execute some code, a NullReferenceException is thrown with the following message: Object reference not set to an instance of an object.
ASJAVA.COM
Blog
How to use Java File separator, separatorChar
0350
The directory separator in Unix operating systems is a slash (right direction) – an example is /. The directory separator in the Windows operating
ASJAVA.COM
Tools
Capture HTTP/HTTPS traffic from Java programs with Fiddler
04.4k.
Fiddler is a handy tool which sits between two applications act as a proxy. It includes the ability to view, decrypt HTTP or HTTPS  traffic for debugging proposes.
ASJAVA.COM
Ant
How to write to a file in Ant
4776
To write the text message to a file in ant, you can use ant target echo, it provides the way to directly append to an existing file or write to the new file.
ASJAVA.COM
Ant
Ant – How to print classpath in Ant script
0285
The below target print_classpath in build xml demonstrates how to print the project classpath in ant script, this gives the ability to check loaded classpath at runtime.
ASJAVA.COM
Ant
How to enable ANT verbose?
0175
The Ant verbose option can give you the information about what Ant is doing. you can turn on the verbose flag to debug the ant script: How to do?
ASJAVA.COM
Core Java
Thread-safe Hash Map in Java and their performance benchmark
2131
1. Java Thread-safe Map Overview The Map object is an associative containers that store elements, formed by a combination of a uniquely identify key and
ASJAVA.COM