.
  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 is an interface in Java?

    A: A class

    B: A data type

    C: A blueprint for a class

    D: A data structure

    Ans: C
  2. Which keyword is used to implement an interface?

    A: extends

    B: new

    C: interface

    D: implements

    Ans: D
  3. Can an interface extend another interface in Java?

    A: No

    B: Yes

    Ans: B
  4. Can an interface have a constructor?

    A: Yes

    B: No

    Ans: B
  5. Which of the following access modifiers are implicitly applied to variables in an interface?

    A: private

    B: protected

    C: public

    D: default

    Ans: C
  6. Is it possible to create an instance of an interface?

    A: Yes

    B: No

    Ans: B
  7. How many interfaces can a Java class implement?

    A: None

    B: Only one

    C: Two

    D: As many as needed

    Ans: D
  8. Can an interface inherit from a class?

    A: Yes

    B: No

    Ans: B
  9. Which of the following can be used to create a custom checked exception?

    A: Extending the Exception class

    B: Extending the Error class

    C: Extending the RuntimeException class

    D: None of the above

    Ans: A
  10. Which of these is an unchecked exception?

    A: ClassNotFoundException

    B: SQLException

    C: IOException

    D: ArithmeticException

    Ans: D
  11. Which keyword is used to manually throw an exception in Java?

    A: new

    B: throw

    C: throws

    D: Throwable

    Ans: B
  12. Which of these classes is the superclass of all Exception and Error classes?

    A: Exception

    B: Error

    C: Throwable

    D: Object

    Ans: C
  13. What does the finally block do?

    A: Catches any exception

    B: Executes whether an exception is thrown or not

    C: Executes only when an exception is thrown

    D: Executes only when an exception is not thrown

    Ans: B
  14. Which keyword in Java is used for constant variables?

    A: const

    B: static

    C: constant

    D: final

    Ans: D
  15. In Java, what is the primary purpose of the Thread class?

    A: File handling

    B: String operations

    C: Network operations

    D: Creating and executing threads

    Ans: D
  16. Which method is used to start the execution of a thread?

    A: run()

    B: start()

    C: execute()

    D: go()

    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