dear naraharirao,
if assertions are not enabled at run time then the code will be same as
see commented line.
class B {
int a, b, c;
private void setA(int i) {a = i;}
private void setB(int i) {b = i;}
private int m1 (int i) {
c = a + b + i;
//assert c < 200 : c;
return c;
}
public static void main (
String[] args) {
B b = new B();
b.setA(50);
b.setB(100);
b.m1(50);
}}
Hope this will help you