What is encapsulation in Java? This question comes up a lot in Java developer interviews. Encapsulation is hiding the implementation with access modifiers
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
What are the features of Java? Answer: OOP concepts: object-oriented; inheritance; encapsulation; polymorphism; abstract. Cross-platform: A Java program
When I execute some code, a NullReferenceException is thrown with the following message: Object reference not set to an instance of an object.
The directory separator in Unix operating systems is a slash (right direction) – an example is /. The directory separator in the Windows operating
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.
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.
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.
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?
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