- Q 1) What will happen when you attempt to compile and run the following code import java.io.*; class Base{ public static void amethod()throws FileNotFoundException{} } public class ExcepDemo extends Base{ public static void main(String argv[]){ ExcepDemo e = new ExcepDemo(); } public static void amethod(){} protected ExcepDemo(){ try{ DataInputStream din = new DataInputStream(System.in); System.out.println("Pausing"); din.readChar(); System.out.println("Continuing"); this.amethod(); }catch(IOException ioe) {} } } 1)Compile time error caused by protected constructor 2) Compile time error caused by amethod not declaring Exception 3) Runtime error caused by amethod not declaring Exception 4) Compile and run with output of "Pausing" and "Continuing" after a key is hit
- Q Florence Nightingale was known as
- Q Where was/is the original Penthouse
- Q Kinpaku-iri sake contains what unusual ingredient
- Q What must an administrator do in order to successfully configure a VLAN trunk between two switches? (Select two answer choices) A. Set each end of the trunk line to IEEE 802.1Q encapsulation. B. Set the same VTP management domain name on both switches. C. Set all ports on the two switched as access ports. D. Configure one of the two switches as a VTP server. E. Connect the two switches using a rollover cable. F. Use a router to forward VTP traffic between the VLANs.
- Q What do you mean by: a.)Informix Binary Large Object b.)Informix instance
- Q Whats your favourite boyband?
- Q What are the gradients of SVG?
- Q How can the sex of baby chicks be determined?
- Q Write a bubble sort.
- Q The minimum and the maximum age in Atal Pension Yojna is