 What is the output of this program
 What is the output of this programclass A {        int i;    }        class B extends A {        int j;        void display() {            super.i = j + 1;            System.out.println(j + " " + i);        }    }        class inheritance {        public static void main(String args[])        {            B obj = new B();            obj.i=1;            obj.j=2;               obj.display();             }   } A program contains the following code:
  A program contains the following code:#define clrscr() 123Here, the result of the above program is ------?void main() {clrscr();printf("%d", clrscr());}
 
 import java.net.*;class networking{public static void main(String[] args) throws MalformedURLException{URL obj = new URL("https://www.sookshmas.com/sookshmastech");System.out.print(obj.toExternalForm());}}
 What will be the output of the following Java program?
 What will be the output of the following Java program?class output{public static void main(String args[]){String s1 = "Hello World";String s2 = s1.substring(0 , 4);System.out.println(s2);}}
 
 import java.util.*;class Arraylists{public static void main(String args[]){ArrayLists obj = new ArrayLists();obj.add("A");obj.add("B");obj.add("C");obj.add(2, "D");System.out.println(obj);}}
 What is the output of this programm?
 What is the output of this programm?1.#include2.using namespace std;3.int main()4.{5.char str[5] = "ABC";6.cout str[3];7.cout str;8.return 0;9.}