The setBackground() method is part of the class
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
An individual array element that is passed to a method and modified in that method will contain the…
A method declared as static can not access non-static class members.
With javadoc, which of the following denotes a javadoc comment?
Which of the following are not keywords?
EJBs can be of the following type(s)None of the above
If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
Which of the following methods can be used to draw the outline of a square?
JSP files creates ________________
Throwing an exception always causes program termination.
An EJB is a server-side component that encapsulates the business logic of an application
Which exception is thrown by the read() method of InputStream class?
We can add more than one class(es) at the time of compilation Java Beans.
What does the following line of code do?TextField text=new TextField(10);
Java always provides a default constructor to a class.
All methods in an abstract class must be declared abstract.
The import statement is always the first no comment statement in a Java program files.
What is java -g used for?
A class may be both abstract and final.
The use of protected keyword to a member in a class will restrict its visibility as follows:
A panel can not be added to another panel.
Which of the following statements are true?
The keywords reserved but not used in the initial version of Java re:
The expression (x == y && a<b) is true If either x == y is true or a<b is true.
Servlet has ___________
executeUpdate automatically updates data because___________
Which of the following are the wrapper classes?
Which of the following keywords are used to control access to a class member?
Java is fully object oriented programme.
Submit button always fires doPost(...)
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter