Top 15 Eclipse Interview Questions
Q1. Explain What Is Included In A Rich Client Platform?
In a rich patron platform,
it includes:
Eclipse Runtime
JFace
Workbench
SWt
Q2. Explain How Can You Generate Javadoc Documentation For Your Code?
To generate JavaDoc documentation on your code, In Eclipse,
you have to comply with the following steps:
Go to File menu
Select Export
Select Java
JavaDoc
Choose the initiatives, different homes and output directory for which JavaDoc is to be created
Click Finish
Q3. Explain What Is Shell And What Is Display?
The Shell elegance represents windows whilst the Display elegance represents the GUI method(thread).
Q4. Explain What Is Ide? Name Some Java Ide?
IDE stands for Integrated Development Environment.
Some of the Java IDE are:
Eclipse
Netbe
RAD ( Rational Application Developer )
WSAD (Websphere Application Developer )
Q5. Explain What Are Extension Points?
Whenever a plug-in desires to allow different plug-ins to increase or customize quantities of its capability, it will declare an extension point.
Q6. Explain What Are Activities You Can Do In Eclipse?
In Eclipse, you can do following sports:
Create customary projects
Edit documents in a ordinary textual content editor
Share documents and challenge in a CVS (Concurrent Version System) server.
Q7. Explain How Can You Hide Menu Contributed By Other Plugins?
To cover menu contributed with the aid of different plugins, you may use org.Eclipse.Ui.Activities extension.
Q8. What Are The Steps To Change The Jdk Compliance Level?
The steps to alternate the JDK compliance degree:
Go to Windows
Select Preferences
Select Java – Compiler
Select Java Compliance Level
Q9. Mention What Is The Class Path Of A Plugin In Eclipse?
The classpath of a plugin is “OSGI figure class loader”. In OSGI, all magnificence loaders have a not unusual discern elegance loader.
Q10. Explain How To Access Ui Objects From A Non-ui Thread?
To get admission to UI items from a non-ui thread, use command
Display.GetDefault().AsyncExec(new Runnable()…)
This will motive the run() approach of the runnable to be invoked by way of the person-interface thread at the subsequent affordable opportunity.
Q11. Define Eclipse? What Are The Key Eclipse Projects And Technologies?
Eclipse is utilized in several extraordinary areas, e.G. As a improvement platform for Android or Java applications. It is likewise used for coping with and deploying software program across the entire software program lifecycle.
The key Eclipse tasks and technology are;
Eclipse platform
Eclipse assignment
JDT or Java Development Tools
Plug-in Development Tools (PDE)
Q12. Explain How Can You Add A Library To The Class Path Of A Plug-in?
To get entry to unique library from a plugin, the library needs to be added to the classpath of a plug-in. There are 4 approaches of doing this.
The JAR may be added to the boot classpath
The JAR can be delivered to the declared libraries for a plug-in
Create a new plug-in that can be delivered to the library
By the usage of OSGI discern loader.
Q13. Explain What Is An Eclipse Modeling Framework?
An eclipse modeling framework is a Java/XML framework. It is used for producing gear and different programs based on easy class models.
Q14. Explain How To Config A Plugin To Start Automatically During Platform Starts Up?
To config a plugin to start routinely at some stage in platform starts up, define the ‘Eclipse-AutoStart=genuine’ header in Manifest report.
Q15. Explain How To Fire A Key Event In The Test Code To Make The Program Act As If A User Pressed A Key?
To fire a key occasion in check code to make this system act as though a consumer pressed a key.
You need to observe two methods.
NotifyListeners(…) or
publish(Event)

