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 the abstract class?

0 Answers  


how to run ecllipse with jettyserver for windows environment using batch file

0 Answers  


What is variable and its types?

0 Answers  


1) There are 10 different threads in runnable state. Each having priority 1 to 10. How does the CPU schedules or executes these threads?

2 Answers   RBS,


What is the length of a string?

0 Answers  






what is a package?

11 Answers  


What is immutable data?

0 Answers  


What is the epoch date?

0 Answers  


What does java stand for?

0 Answers  


Why is the main method static?

0 Answers  


What are use cases?

0 Answers  


Explain importance of inheritance in java?

0 Answers  


Categories