You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain


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

Post New Answer

More Core Java Interview Questions

what is polymorhism what is inheritance? what is Abstract n Interface? what if two interfaces have same method and a concrete class is implementing both the interfaces. Will there be a compilation error? What are mutable and immutable classes? How can u make a class mutable? when will u use dem ...explain with example? what is overriding and overloading? what is garbage collection? what is Thread? how do dey communicate? what are the different ways of implementing ? have u used any messaging technologies? what is synchronization? what are some additions in java 1.5? what are generics? whst is advanced for loop? what is finally block? can u have a try in finally? yes!! can u have a finally in finally? how do you write junits? when is a object eligible for garbage collection?explain? a = null and b has ref to a will b be eligible to be garbage collected? sql questions like diff joins? how do dey work? exception handling? what is marker interface? what is the need??

0 Answers   JPMorgan Chase,


What is variable explain?

0 Answers  


Who is the owner of java?

0 Answers  


What are the advantages and disadvantages of reference counting in garbage collection?

0 Answers  


Which is bigger double or float?

0 Answers  


What is the difference between a loader and a compiler?

0 Answers   Syntel, Visa,


Can a static class implement an interface?

0 Answers  


How would you use Bubble Sort to sort the number of elements?

0 Answers   Genpact,


What is difference between pointer and reference?

0 Answers  


What are user defined exceptions?

0 Answers  


What are the differences between processes and threads?

0 Answers  


How do you download stubs from Remote place?

0 Answers  


Categories