public static void main(String[] args)In Java, the execution of an application starts this method, with signature 'public static void main(String[] args)'It is also sai… Read More
In this post, I am going to explain how to mock private static void methods. PowerMock provides 'expectPrivate' method to specify expectations on private methods using the method name.Exampl… Read More
No, we can not override static method in java. Static methods are those which can be called without creating object of class,they are class level methods.
On other hand,If subclass is h… Read More
In ABAP we can define a static attribute for a class via keyword CLASS-DATA, whose validity is not associated with instances of a class but with the class itself. In order to prove this fact… Read More
Serving the static resources through different domains(Cookie less Domains) - Adobe Experience Manager(AEM) This post will explain the approach to improve the page load time of the webs… Read More
In my previous post, I explained how to set the instance properties of an object. In this post, I am going to explain how to set the static properties of a class using Whitebox.Following sni… Read More
In this post you will learn how to use new operator in java with example.In Java, a new object is created from a defined class by using the new operator. The new operator creates a new objec… Read More