public class ExceptionTest9{public static void main(String[] args){System.out.println("I am going to forest.");throw new ClassNotFoundException();}}
#include iostreamusing namespace std;class A{public:A(){cout"Constructor called\n";}~A(){cout"Destructor called\n";}};int main(int argc, char const *argv[]){A *a = new A[5];delete[] a;return 0;}
class rightshift_operator{public static void main(String args[]){int x;x = 10;x = x 1;System.out.println(x);}}
#include iostreamusing namespace std;void main() {short i=2300, j=4322;cout"i+j="-(i+j);}
public class Col {public Col() {System.out.println("har har mahadev");}public Col(int a) {this();this();}public static void main(String...k) {Col c = new Col(10);System.out.println("har har mahadev");}}