+ Start a Discussion

How to write IF in APEX

how to write a condition in child class

which will bases the datamember in parent class


Not Totally sure what you're asking - but maybe you're looking for something like this...


public class className {

public boolean trueFalse = true();


public void methodNameABC {

if (trueFalse = true) {

trueFalse = false;