ngIf The ngIf removes the HTML element if the expression evaluates to false. If the expression evaluates to true, a copy of element is added in the
Category: Interview Questions
Immediately-Invoked Function Expression ( IIFE )
It executes immediately after it’s created. It has nothing to do with any event-handler for any events (such as document.onload). The first pair of parentheses (function(){…}) turns the
How to access REF CURSOR Data in Java ?
In Java, a REF CURSOR is known as a ResultSet object and can be accessed as shown below: import oracle.jdbc.*; … CallableStatement cstmt; ResultSet cursor; // Use a PL/SQL block
Angular directive scope attribute
In AngularJS, Scope works as a glue between controller and model. While working with directive you can use scope attribute and it can be true,
Convert List to a Set / Set to List in Java
In Java, When we are working on real time projects.. Generally we came across scenarios like Converting List to Set Object or Vice Versa. 1.
How to disable Watcher in AngularJS?
$watch returns a de-registration function. Calling it would de-register the $watcher. var myVariableWatchObj = $scope.$watch(“myWatchAttribute”, function () { // code to perform }); //.. Calling function as
Different ways of injecting dependency in an AngularJS Application, Controller, Service, Factory
While working as a AngularJS developer, You should aware about different ways to inject DI into AngularJS Application, Controller, Service and Factory. Passing a dependency
Check for Prime Number in Optimized way | Interview Question
Please find below logic which will help you to write most optimized way to find if a number is Prime or not. What is Prime
Swipe 2 Numbers without using Third Variable or Temp Variable | Interview question
While giving interviews, Interviewers generally asks questions which tests logical thinking of candidate. This is one of the questions I faced while giving Interviews. There
JAR vs. WAR vs. EAR
In J2EE application modules are packaged as EAR, JAR and WAR based on their functionality JAR: EJB modules which contains enterprise java beans class
Difference between == and === in Javascript
While conducting interview for a Front end developer perspective, It is essential to know the difference between == and === comparisons operators in Javascript. Javascript
How to iterate HashMap in Java ?
public static void printMap(Map mp) { Iterator it = mp.entrySet().iterator(); while (it.hasNext()) { Map.Entry pair = (Map.Entry) it.next(); System.out.println(pair.getKey() + ” = ” +