Adding Custom CMS component in Hybris

In this requirement, we are going to create a completely new component type and add it to the page. Let’s say the requirement is to display the Offers on the Home page, where Offers component should include the attributes like images,header text of the offer,footer text of the offer. So Our aim is to create […]

Share this article on

Variable Hiding in Java

Variable hiding happens when there is another variable with the same name and it has nearest scope. Note : When local and global variables have the same name, local variables will take precedence than global variables. Consider the below program package com.kb.javainsimpleway.variable.hiding;   public class VariableHiding {     int x=100;     public static […]

Share this article on
< Previous Next >