.
  Vyom World.com . Let's Touch the Sky Together!  
.

Home
VyomWorld.com Home
Interview Questions
VyomLinks.com Home
JobsAssist.com Home
Vyom Network
Contact Us
Jobs & Careers
Resume Submitter
Placement Papers
IT Companies Directory
Computer Jobs
Interview Questions
Online Exams
Vyom Career eMag.
Fun
Send FREE SMS!
SMS Jokes
Source Codes Library
Source Codes Home
ASP Source Codes
C Source Codes
C++ Source Codes
COBOL Source Codes
Java Source Codes
Pascal Source Codes
Submit Source Codes
GATE
GATE an Overview
GATE Preparation
Study Materal
GRE
GRE an Overview
GRE Questions
GRE Preparation
GRE Universities
TOEFL Preparation
TOEFL Resources
GMAT Preparation
GMAT Resources
MBA Preparation
MBA Resources
Networking Concepts
Networking Concepts
Testing Preparation
Testing Resources
Webmasters
Free Traffic Builder
Webmaster Articles
Web Hosting
Tutorials
Hardware Tutorial
1500 Free eBooks New!


Home » Placement Papers » Newgen Placement Papers » Newgen Previous Year Placement Paper

 

Newgen Placement Paper -: Java Questions With Answers


Advertisements
Advertisements




Newgen Previous Years Solved Sample Placement Papers

  1. What is the method available for setting the priority?

    A: setPriority()

    Ans: setPriority()
  2. What is the default thread at the time of starting the program?

    A: main thread

    Ans: main thread
  3. The word synchronized can be used with only a method. True/False

    A: False

    Ans: False
  4. What are all the four states associated in the thread?

    A: 1. new 2. runnable 3. blocked 4. dead

    Ans: 1. new 2. runnable 3. blocked 4. dead
  5. The suspend() method is used to terminate a thread. True/False

    A: False

    Ans: False
  6. The run() method should necessarily exist in classes created as subclass of thread. True/False

    A: True

    Ans: True
  7. Garbage collector thread belongs to which priority?

    A: low-priority

    Ans: low-priority
  8. What is the difference between superclass & subclass?

    A: A superclass is a class that is inherited whereas subclass is a class that does the inheriting.

    Ans: A superclass is a class that is inherited whereas subclass is a class that does the inheriting.
  9. Which keyword is used to inherit a class?

    A: extends

    Ans: extends
  10. Object class is a superclass of all other classes? True/False

    A: True

    Ans: True
  11. Java supports multiple inheritance? True/False

    A: False

    Ans: False
  12. What is inheritance?

    A: Deriving an object from an existing class. In other words, inheritance is the process of inheriting all the features from a class.

    Ans: Deriving an object from an existing class. In other words, inheritance is the process of inheriting all the features from a class.
  13. What are the advantages of inheritance?

    A: Reusability of code and accessibility of variables and methods of the superclass by subclasses.

    Ans: Reusability of code and accessibility of variables and methods of the superclass by subclasses.
  14. Which methods are used to destroy the objects created by the constructor methods?

    A: finalize()

    Ans: finalize()
  15. What are abstract classes?

    A: Abstract classes are those for which instances can’t be created.

    Ans: Abstract classes are those for which instances can’t be created.
  16. What must a class do to implement an interface?

    A: It must provide all of the methods in the interface and identify




 


.

Recently Updated: New Placement Papers added.
Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Programming & Source Codes | GRE Preparation | Jobs, Discussions | Software Listing | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | International Business Information | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | FAQs | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Excellent Mobiles | Software Testing | Interview Questions | Freshers Jobs | Server Insiders | File Extension Directory

Copyright ©2003-2024 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy