- 
                    Each subclass ________ state (in the form of variable declarations) from the superclassSkill/Topic: InheritanceA) Inherits 
- 
                    
- 
                    Open Excel sheet in JavaMy java code needs to open an excel sheet and import data from the excel sheet. How can do that? 
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
 System.out.println(Float.parseFloat(x));
 it gives infinity.
 so, how to catch it?
 ">How to check infinity value ? i took very large number as string when i cast to float it gives infinity value. how to check at runtime or how to catch it?ex : String x = "111111111111111111111111111112222222222222222222222222222112222";System.out.println(Float.parseFloat(x));it gives infinity.so, how to catch it?
- 
                    
- 
                    What does final parameters mean in a method.does a innerclass only access final parameters from the parameter list if its defined inside a method.Code:type methodA(final int parm1,int parm2){class inner{// -- is onlt parm1 accessible or parm2 is also accessible}}I did not check it in a JVM but even i can decide which is accessible. I wanna know the cocept of final parameters. 
- 
                    What are covariant return types?A method in a subclass returning an object whose type is a subclass of the type returned by the method with the same signature in the superclass. 
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
Java Interview Questions

 
  
  
  
		
Ans