Notice For TE-BE Class "Value Added Program": Department of Information Technology
Notice For TE-BE Class "Value Added Program": Department of Information Technology
class Demo { public static void main (String[] args) { int a=3>>2; int b=3<<2; int c=8>>>2; System.out.println(a+"\t"+b+"\t"+c); } }
Q2. Give its output class Demo { static int a; static void set(int a) { this.a=a; }
static int getA() { return a; } public static void main (String[] args) { set(10); System.out.println(getA()+""); } }
Prof. Anil s Naik (Aptitude incharge) Send as: Answer<space>Student Name<space>class Send to: 7709281994