+ Start a Discussion
laxmiramlaxmiram 

How to write IF in APEX

how to write a condition in child class

which will bases the datamember in parent class

JeffStevensJeffStevens

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;

}

}

}