Professional Documents
Culture Documents
a. JRE 1.4
b. JRE 1.6
c. JRE 1.5
d. JRE 1.7
b. Right Click Project -> Build Path -> Add External Archives
3. While creating a new class in Java Perspective, suppose “public static void main(String args[])”
is not selected. What happens when you want to run?
b. Runs successfully
a. Class name
b. Method name
c. Variables
d. Objects
a. Logger
b. Output
7. When Websphere Application Server(WAS) is stopped at the start, what is the default “state”?
a. Stopped
b. Started
c. Publish
d. Republish
9. It is always better to keep the Enterprise Archive Name same as Project Name?
a. Yes
b. No
10. By Default, which page comes when you create a Dynamic Web Project?
a. WebDiagram.gph
b. Navigation
c. Deployment Descriptor
d. Security Editor
11. While creating a Struts project , what is mandatory?
a. HTML/XHTML,JSP Fragment
b. HTML ,JSP
a. web.xml
b. WEB-INF
c. Project.xml
d. Class.xml
17. What tag is used to display the home page, while running the web project?
a. Welcome-file-list
b. Welcome-file
c. First-file-list
d. First-file
a. Positive no >=0
b. Positive no >=1
c. Negative no
d. Positve no >10
a)Windows-->Capabilities
b)Help-->Capabilities
c)Windows-->Preferences-->Capabilities
d)Windows-->Preferences-->General-->Capabilities
a) windows-->Cheat Sheets
b) Help-->Cheat Sheets
c) Windows-->Preferences-->Cheat Sheets
d) None Of these
23.What are the default parameters of local history?
a.)Two
b.)Three
c.)Any No of
d.)None of these
27.What are the two way to represent the view on the Workbench?
a.)Single
b.)Multi
c.)Double
d.)Stacked
28.From which window developer can set any perspective as a default in RAD v7.0?
Note:(After selecting particular perspective click “make default” and at last close all
active perspective to reflect the changes)
a.)Window->preferences->general->perspective
b.) Window->preferences->general-> open perspective
c.) Window->preferences->general-> customize perspective
d.) Window->preferences-> customize perspective
29.What are the four tabs that we have on the Java Build path?
a)Error (blue circle, red cross), warning (red triangle, exclamation mark),
Information (yellow exclamation mark)
b)Error (green circle, blue cross), warning (white triangle, exclamation mark),
Information (red exclamation mark)
c)Error (red circle, white cross), warning (yellow triangle, exclamation
mark), Information (blue exclamation mark)
d)None of these
a.)File System
b.)Zip file
c.)Resource file
d.)J2EE jar file
35.What are the two way to access the java Build path settings
Of the projects…
a)Associated
b)Determined
c)Unassociated
d)Distinguished
38. How can we add any field/method to a class directly from the
class diagram?
a.)Right click to the particular class in the class diagram editor->select Add note
b.)Right click to the particular class in the class diagram editor->Select Add java
c.)Right click to the particular class in the class diagram editor->select add attributes
d.)Right click to the particular class in the class diagram editor->select add resources
39. From where we can perform search regarding any java resource?
a)Search-->Java resource
b)Search-->File search
c)Search-->Java search
d)Help-->Search
40.For restricting the search area for the java resources inside the workspace we can create….
a.)Search scope
b.)Working sets
c.)Search Area
d.)working scope
41. A developer customizes the Java perspective and wants to save the changes as the default
perspective that is opened in the workspace. Which of the following actions would be BEST for the
developer to perform?
a.Choose Window ->Save Perspective As and name the new perspective MyJava; Choose Window ->
Preferences -> Wokbench -> Perspectives, select MyJava and click Make Default.
b.Choose Window -> Save Perspective , Choose Window -> Preferences -> Wokbench -> Perspectives,
select java and click Make Default.
c.Choose Window -> Preferences -> Wokbench -> Perspectives, select Java and click Make Default.
d.Choose Window -> Perspective Save Current as Default
42. A developer wants to import a zip FILE INTO A PROJECT without expanding the contents of the
file. The Developer should use which of the following File ->import features?
a.File System
b.Zip file
c.Resource file
d.J2EE jar file
43. What can a developer do to allow quick access to a particular Help page?
a.In the main menu, click Help-> Bookmark to bring up a list of Help topics, browse to the desired
page and click Add.
b.In the main menu, click Favorites-> Manage Favorites, and select the desired page from the list of
Help topics
c.In the Help window, browse to the desired page, and click the Bookmark Document icon in the
toolbar
d.In the Help window, browse to the desired page, and click Favorites -> Add to Favorites from the
menu
44. A company stores JAR files under different subdirectories in a shared directory. A developer needs
many of the JAR files to compile an application, but the developer does not want to navigate to the
share directory every time. Which of the following options in the Java Build Path settings should the
developer use?
a.Import
b.Add JARS
c.Add Class Folder
d.Add Variable
45. Which TWO of the following items are shown in the Problems view?
a.Debug output
b.Warning messaes
c.Error messages
d.QuickFix suggestions
e.Outstanding tasks
46. The Outline view in the Java perspective can be used to display:
48. While editing servlet, a developer decides to override the init (ServletConfig) method. What is the
MOST efficient way begin this process?
a.Launch the New -> Method wizard and enter the signature for the init method.
b.From within the Java editor, type the new init method.
c.Use the Source -> Override/implement Methods context menu item from the Outline view.
d.Select the Source -> Override/implement Methods context menu from within the Java editor.
49. In the Java editor "folding" refers to the editor's ability to:
50. A Java class contains references to a Date class, but does not have any Date class among its import
statements. Assume two Date classes java.sql.Date and java.util.Date-exist on the Java Build Path.
What happens when the add import command is triggered on the class name "Date"?
a. The Add import wizard prompts the developer to choose between java.sql.Date and java.util.Date to
import.
b.The Add import wizard ignores this class reference of the ambiguity
c.The java.util.Date class is imported because Java.util comes before java.sql in the default import
order preference
d.The java.sql.Date class is imported because java.sql.Date is a subclass of java.util.Date and inherits
the same method signatures