Other
What is polymorphism in Java?
0325
What is polymorphism in Java? Polymorphism is the ability of a program to identically use objects with the same interface without knowing the specific
ASJAVA.COM
Other
What is encapsulation in Java?
0267
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?
0253
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?
0230
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?
0319
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
0649
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
010.5к.
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
41.7к.
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
0950
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?
0561
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