.
  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 » Telco Infotech Placement Papers » Telco Infotech Previous Year Placement Paper

 

Telco Infotech Placement Paper -: Java Programming Questions With Answers


Advertisements
Advertisements




Telco Infotech Previous Years Solved Sample Placement Papers

  1. Which of these keywords is used to define interfaces in Java?

    A: intf

    B: Intf

    C: interface

    D: Interface

    Answer: C

    Solution: The interface keyword is used to define interfaces in Java.

  2. Which of the following is the superclass of all Java classes?

    A: ArrayList

    B: Abstract Class

    C: Object class

    D: String

    Answer: C

    Solution: The Object class is the superclass of all Java classes.

  3. Which of the following is not a Java Profiler?

    A: JProfiler

    B: Eclipse Profile

    C: JVM

    D: JConsole

    Answer: C

    Solution: JVM is not a profiler; it is the Java Virtual Machine. Tools like JProfiler and JConsole are used for profiling.

  4. Which of these packages contains the stack overflow variant in Java?

    A: java.io

    B: java.system

    C: java.lang

    D: java.util

    Answer: C

    Solution: The java.lang package contains the stack overflow variant in Java.

  5. Which of these statements are wrong about Thread?

    A: start() method is used to start a thread function

    B: run() method is used to start a thread process before start() method in special cases

    C: The thread can be created using only the runnable interface

    D: The thread can be made of a class that extends to the Thread class

    Answer: B

    Solution: The run() method contains the code to be executed in a thread. The start() method is used to start the thread.

  6. Which of these keywords is used to block an exception?

    A: check

    B: throw

    C: catch

    D: try

    Answer: D

    Solution: The try block is used to enclose the code that might throw an exception.

  7. Which of the following is not an access modifier?

    A: Protected

    B: Void

    C: Public

    D: Confidential

    Answer: B

    Solution: Void is a return type, not an access modifier. Java access modifiers include public, private, protected, and default.

  8. What is the range for the type of char data in Java?

    A: 0 to 256

    B: -128 to 127

    C: 0 to 65535

    D: 0 to 32767

    Answer: C

    Solution: char in Java is 16-bit and supports the range 0 to 65535.

  9. Which section provides for the implementation of the private server side of the system?

    A: Server

    B: ServerReader

    C: Socket

    D: ServerSocket

    Answer: D

    Solution: ServerSocket provides a system for server-side connections.

  10. Arrays in Java are:

    A: Object References

    B: Objects

    C: Primitive Data Type

    D: None

    Answer: B

    Solution: Arrays in Java are treated as objects.

  11. Total constructors in the String class?

    A: 3

    B: 7

    C: 13

    D: 20

    Answer: C

    Solution: The String class provides 13 constructors.

  12. Where does the system store parameters and local variables whenever a method is invoked?

    A: Heap

    B: Stack

    C: Array

    D: Tree

    Answer: B

    Solution: Parameters and local variables are stored in the stack memory.

  13. What difference does it make when Java is out of memory?

    A: MemoryError

    B: OutOfMemoryError

    C: MemoryOutOfBoundsException

    D: MemoryFullException

    Answer: B

    Solution: The Xms flag has no default value, and Xmx typically has a default value of 256MB. A common use of these flags is when you encounter java.lang.OutOfMemoryError.

  14. Which of these selection statements in Java do you have?

    A: break

    B: continue

    C: for ()

    D: if ()

    Answer: D

    Solution: Continue and break are jump statements, and for falls under the looping statement.




 


.

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