What is widening and narrowing in java? Discuss with an example.
No Answer is Posted For this Question
Be the First to Post Answer
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
What is abstract class? Explain
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....
How do you achieve singleton?
What is difference between variable declaration and definition?
What do you mean by formatting?
What methods are used in Servlet?Applet communication?
what is private constructor?what are the uses of writing private constructor in our program?
What is java used for?
How to sort list of list in java?
What is data type example?
List some important features of java 10 release?