Answer Posted / thirumal.r
JFrame f=new JFrame();
JPanel p=new JPanel();
f.add(p,BorderLayout.CENTER);
Is This Answer Correct ? | 19 Yes | 1 No |
Post New Answer View All Answers
Can anonymous class have constructor?
What is the concept of multithreading?
What is an infinite loop? How infinite loop is declared?
Differentiate between overriding and overloading cases?
How many times finalize method will be invoked? Who invokes finalize() method in java?
What is java instanceof operator?
What is boolean law?
What is static in java?
Why do we need wrapper class?
what are Hostile Applets?
What are advantages of exception handling in java?
What are the four integer types supported by java?
What’s the difference between constructors and other methods?
What is the difference between numeric and integer?
What is this keyword used for?