When can an object reference be cast to an interface reference in java programming?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Is java still necessary?

0 Answers  


What does the exclamation mark mean in java?

0 Answers  


Explain a situation where finally block will not be executed?

0 Answers  


What is the difference between Java and C++?

0 Answers   Integreon, TCS, ZS Associates,


what is the difference between String s="hello"; and String s=new String("hello");?

3 Answers  






How java is similar to c?

0 Answers  


why java is better then .net?

5 Answers   HCL, iGate,


Why does java have different data types for integers and floating-point values?

0 Answers  


solve this is my problem byte a=40,byte b=50 both add value is 90 this is with in range of byte... byte range is -128to 127.... why this pgm gives error like type mismatch.... package javapgms; public class byte1 { public static void main(String args[]) { byte a=40,b=50; byte c=a+b; System.out.println(c); } } note : dont use int k... a,b,c are in byte range... mind it..

2 Answers  


What are the differences between include directive and include action?

0 Answers  


What is anti pattern in programming?

0 Answers  


What is the mapping mechanism used by java to identify IDL language?

0 Answers  


Categories