Last Updated: February 25, 2016
·
981
· drdrej

Fails: syntactic vs. semantic

  if( condition ) {
      component =  new ComponentA();
      component.onCreate();
  } else
component = new ComponentB();
component.onCreate();