Log In Register

Units


Core Java Api Packages - Questions and Answers

 

Practice these Core Java Api Packages under Java Programming walk-in interview Questions/ examination questions with best tricks and short cuts with solution. Student (candidate) who want to crack the walk in interview, competitive exams and want to find short cuts and tricks to solve questions on Core Java Api Packages for following purpose.


– Anyone who is wishing to increase their perfect knowledge of Core Java Api Packages of Java Programming.
– Anyone who is preparing for aptitude test and increase his in depth aptitude knowledge Java Programming specifically Core Java Api Packages.
– Anyone who is preparing for interviews (competitive examinations, govt examinations and bank examinations, off-campus or on campus interviews, walk-in interview and company interviews) having questions on Core Java Api Packages under Java Programming.

– Anyone who is preparing for aptitude test or competitive exam or entrance exam.
– Anyone who is preparing for entrance examinations and other competitive examinations.
– All Experienced, Freshers and Students.

Here is list of Questions and Answers covering all key area of  Core Java Api Packages topic of Java Programming:

 

1. Which of these package is used for all the text related modifications?

Answer: Option A

Explanation:
java.text provides capabilities for formatting, searching and manipulating text.

2. Which of these class allows us to get real time data about private and protected member of a class?

Answer: Option C

Explanation:
The ReflectPermission class allows reflection of a private or protected members of a class. This was added after java 2.0 .

3. Which of these package is used for graphical user interface?

Answer: Option B

Explanation:
java.awt provides capabilities for graphical user interface.

4. Which of these package is used for handling security related issues in a program?

Answer: Option A

Explanation:
java.security handles certificates, keys, digests, signatures, and other security functions.

5.  Which of these package is used for invoking a method remotely?

Answer: Option A

Explanation:
java.rmi provides capabilities for remote method invocation.

6. Which of these package is used for analyzing code during run-time?

Answer: Option D

Explanation:
Reflection is the ability of a software to analyze itself. This is provided by java.lang.reflevt package.