Output of the JAVAprogram


#1

What is the output of following program?

package com.instanceofjava;

public class B{

B b= new B();

public int show(){
return (true ? null : 0);
}

public static void main(String[] args) {

    B b= new B();
    b.show();
}

}


#2

stack over flow