Explore topic-wise InterviewSolutions in Current Affairs.

This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.

1.

Explain How To Fire A Key Event In The Test Code To Make The Program Act As If A User Pressed A Key?

Answer»

To fire a key event in test CODE to make the PROGRAM act as if a user PRESSED a key.

You need to FOLLOW two ways.

  • notifyListeners(…) or
  • POST(Event)

To fire a key event in test code to make the program act as if a user pressed a key.

You need to follow two ways.

2.

Explain How To Access Ui Objects From A Non-ui Thread?

Answer»

To ACCESS UI objects from a non-ui THREAD, use command
Display.getDefault().asyncExec(NEW Runnable()…)
This will cause the run() method of the runnable to be INVOKED by the user-interface thread at the next reasonable opportunity.

To access UI objects from a non-ui thread, use command
Display.getDefault().asyncExec(new Runnable()…)
This will cause the run() method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity.

3.

Explain How Can You Add A Library To The Class Path Of A Plug-in?

Answer»

To access particular library from a plugin, the library needs to be ADDED to the classpath of a plug-in. There are four WAYS of doing this.

  • The JAR can be added to the BOOT classpath
  • The JAR can be added to the DECLARED libraries for a plug-in
  • Create a new plug-in that can be added to the library
  • By USING OSGI parent loader.

To access particular library from a plugin, the library needs to be added to the classpath of a plug-in. There are four ways of doing this.

4.

Mention What Is The Class Path Of A Plugin In Eclipse?

Answer»

The classpath of a plugin is “OSGI PARENT CLASS LOADER”. In OSGI, all class loaders have a COMMON parent class loader.

The classpath of a plugin is “OSGI parent class loader”. In OSGI, all class loaders have a common parent class loader.

5.

Explain What Is Included In A Rich Client Platform?

Answer»

In a rich CLIENT platform,

it includes:

In a rich client platform,

it includes:

6.

Explain What Is Shell And What Is Display?

Answer»

The Shell class represents windows while the DISPLAY class represents the GUI process(THREAD).

The Shell class represents windows while the Display class represents the GUI process(thread).

7.

Mention What Are The Differences Between ‘import-package’ And ‘require-bundle’ In Eclipse?

Answer»
  • ‘Import-Package’ is USED to DECLARE a dependency on a package without knowing which exact bundle will provide it
  • ‘Require-Bundle’ specifies your PLUGIN project’s dependency on other specific bundle and versions EXPLICITLY.

8.

Explain How Can You Hide Menu Contributed By Other Plugins?

Answer»

To HIDE MENU CONTRIBUTED by other PLUGINS, you can USE org.eclipse.ui.activities extension.

To hide menu contributed by other plugins, you can use org.eclipse.ui.activities extension.

9.

Explain What Is An Eclipse Modeling Framework?

Answer»

An eclipse modeling framework is a Java/XML framework. It is USED for generating tools and other applications based on SIMPLE class MODELS.

An eclipse modeling framework is a Java/XML framework. It is used for generating tools and other applications based on simple class models.

10.

Explain How To Config A Plugin To Start Automatically During Platform Starts Up?

Answer»

To config a PLUGIN to start automatically during platform starts up, define the ‘Eclipse-AutoStart=true’ HEADER in MANIFEST FILE.

To config a plugin to start automatically during platform starts up, define the ‘Eclipse-AutoStart=true’ header in Manifest file.

11.

Explain What Are Extension Points?

Answer»

Whenever a plug-in WANTS to allow other plug-ins to extend or customize portions of its FUNCTIONALITY, it will DECLARE an extension point.

Whenever a plug-in wants to allow other plug-ins to extend or customize portions of its functionality, it will declare an extension point.

12.

Explain How Can You Generate Javadoc Documentation For Your Code?

Answer»

To generate JAVADOC documentation for your code, In ECLIPSE,

you have to follow the following STEPS:

  1. Go to FILE menu
  2. Select Export
  3. Select Java
  4. JavaDoc
  5. Choose the projects, other properties and output directory for which JavaDoc is to be CREATED
  6. Click Finish

To generate JavaDoc documentation for your code, In Eclipse,

you have to follow the following steps:

13.

What Are The Steps To Change The Jdk Compliance Level?

Answer»

The steps to change the JDK compliance LEVEL:

  • GO to WINDOWS
  • Select Preferences
  • Select Java – COMPILER
  • Select Java Compliance Level

The steps to change the JDK compliance level:

14.

Explain What Are Activities You Can Do In Eclipse?

Answer»

In ECLIPSE, you can do following ACTIVITIES:

  • Create generic projects
  • EDIT files in a generic text editor
  • SHARE files and project in a CVS (Concurrent Version System) server.

In Eclipse, you can do following activities:

15.

Define Eclipse? What Are The Key Eclipse Projects And Technologies?

Answer»

Eclipse is used in several different AREAS, e.g. as a development platform for ANDROID or Java APPLICATIONS. It is also used for MANAGING and deploying software across the entire software lifecycle.
The key Eclipse projects and technologies are;

  • Eclipse platform
  • Eclipse project
  • JDT or Java Development Tools
  • Plug-in Development Tools (PDE)

Eclipse is used in several different areas, e.g. as a development platform for Android or Java applications. It is also used for managing and deploying software across the entire software lifecycle.
The key Eclipse projects and technologies are;

16.

Explain What Is Ide? Name Some Java Ide?

Answer»

IDE stands for Integrated Development Environment.

Some of the Java IDE are:

IDE stands for Integrated Development Environment.

Some of the Java IDE are:

Previous Next