.
  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 » TATA ELXSI Placement Papers » TATA ELXSI Previous Year Placement Paper

 

TATA ELXSI Placement Paper -: .Java Questions With Answers


Advertisements
Advertisements




TATA ELXSI Previous Years Solved Sample Placement Papers

  1. What does the join() method do when called on a thread object?

    A: Terminates the thread

    B: Pauses the thread

    C: Forces the current executing thread to wait until the thread it's called on completes

    D: Checks the status of a thread

    Ans: C
  2. Which method can be used to momentarily pause the execution of the current thread?

    A: sleep()

    B: wait()

    C: pause()

    D: stop()

    Ans: A
  3. Which interface provides an alternative to extending the Thread class?

    A: Runnable

    B: Callable

    C: Executor

    D: Parallel

    Ans: A
  4. What is a daemon thread in Java?

    A: A thread that monitors and logs other threads

    B: A thread that runs continuously in the background

    C: A thread that manages memory usage

    D: A thread that is part of the Java virtual machine

    Ans: B
  5. Which interface represents a collection of objects in which duplicate values can be stored?

    A: List

    B: Set

    C: Map

    D: ListMap

    Ans: A
  6. What is the purpose of the "super" keyword in Java?

    A: To refer to the current object

    B: To invoke the superclass constructor or methods

    C: To create multiple instances of a class

    D: To hide data and methods within a class

    Ans: B
  7. What is the purpose of the "this" keyword in Java?

    A: To refer to the superclass

    B: To create multiple instances of a class

    C: To hide data and methods within a class

    D: To refer to the current object

    Ans: D
  8. What is the purpose of the "final" keyword in Java?

    A: To prevent the inheritance of a class

    B: To prevent overriding of a method

    C: To prevent modification of a variable's value

    D: All of the above

    Ans: D
  9. Can an interface method be declared as final?

    A: Yes

    B: No

    Ans: B
  10. In Java 9, which type of methods can be added to interfaces to share code between methods?

    A: Static

    B: Private

    C: Final

    D: Protected

    Ans: B
  11. An interface with no methods is known as?

    A: Abstract Interface

    B: Marker Interface

    C: Empty Interface

    D: Functional Interface

    Ans: B
  12. Which keyword is used to define a default method in an interface?

    A: static

    B: default

    C: final

    D: abstract

    Ans: B
  13. Are all methods in an interface abstract?

    A: Yes

    B: No

    Ans: B




 


.

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-2025 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy