What is widening and narrowing in java? Discuss with an example.


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

Post New Answer

More Core Java Interview Questions

Write program to print Hello World and print each character address in that string and print how many times each character is in that string? Ex: H: 0 & 1 e:1 & 1 l :2,3,8 & 3 o:4,6 & 2 w:5 & 1 r: 7 & 1 d 9 & 1

7 Answers   Huawei, IBM,


What is abstract class? Explain

0 Answers  


class A{ some variables; public void a()throws Excepion1,Exception2{....} } class B extends A{ variables... public void a()throws E2,E3{.....} } Qns: here override of methods occurs or not,ore else wil give any compilation error or run properly..plz tell me briefly whts happening with the above codes....

4 Answers   Quinnox,


How do you achieve singleton?

0 Answers  


What is difference between variable declaration and definition?

0 Answers  






What do you mean by formatting?

0 Answers  


What methods are used in Servlet?Applet communication?

0 Answers   Satyam,


what is private constructor?what are the uses of writing private constructor in our program?

10 Answers  


What is java used for?

0 Answers  


How to sort list of list in java?

0 Answers  


What is data type example?

0 Answers  


List some important features of java 10 release?

0 Answers  


Categories