Name two subclasses of the TextComponent class?

Answers were Sorted based on User's Feedback



Name two subclasses of the TextComponent class?..

Answer / niranjanravi

TextArea and TextField

Is This Answer Correct ?    4 Yes 1 No

Name two subclasses of the TextComponent class?..

Answer / selvan

TextComponent is supperclass for TextArea & TextField.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Core Java Interview Questions

Difference difference paint() and paintcomponent()?

0 Answers  


Does java trim remove newline?

0 Answers  


Why java is a platform independent? Explain

0 Answers  


What do you mean by global variable?

0 Answers  


what is the difference b/w PUT and POST method to send data to the server

5 Answers   Mind Tree,






Given: 10. interface A { void x(); } 11. class B implements A { public void x() { } public voidy() { } } 12. class C extends B { public void x() {} } And: 20. java.util.List list = new java.util.ArrayList(); 21. list.add(new B()); 22. list.add(new C()); 23. for (A a:list) { 24. a.x(); 25. a.y();; 26. } What is the result? 1 Compilation fails because of an error in line 25. 2 The code runs with no output. 3 An exception is thrown at runtime. 4 Compilation fails because of an error in line 20.

3 Answers  


how many access specifiers are available in java

11 Answers  


How to declare objects of a class ?

0 Answers   Akamai Technologies,


what is bytecode ?explain in detail and watz the difference between bytecode and machine code?

6 Answers   Lucent,


Is arraylist an object in java?

0 Answers  


What is array length in java?

0 Answers  


Explain about java sdk?

0 Answers  


Categories