Various function are performed by JVM like garbage collection ,loading class, interpretation of bytecode. Main funtion of JVM is to provide the interfacing between hardware & our JAVA program.It is the platform for execution of JAVA bytecode.:1) To work with any java pgm we need to have JVM installed.It will interpret the java API to underlying hardware.:When to use constructor ?:5)when to use Interface?:Ans:3) Constructors are special member functions of a class,which are used to initialize various data members.
Category:Java Interview Questions
No comments:
Post a Comment