• Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • English APP
  • login
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • Walkins
    • Corporate Job Exam
    • Government Job Exam
    • Entrance Exam
  • Training
    • Internship
  • Placement Questions
  • /
  • Java

Java interview questions and answers for freshers Page 9

Java Select Another Category Select Another Topic

Programming and Technical

  • Android 118
  • ASP.NET 60
  • C 459
  • C++ 448
  • DATA STRUCTURE 66
  • DBMS 77
  • ELECTRONICS 39
  • Java 261
  • OOPs Concepts 117
  • Operating Syst 103
  • RDBMS 109
  • UNIX 70

Java Question Topics

    Category (1)

    General Ability (3)

  • General Knowledge (3)
  • HR Interview (3)

  • Interview (3)
  • Logical Reasoning (5)

  • Blood Relations (1)
  • Coding Decoding (2)
  • Cryptography (1)
  • Seating Arrangement (1)
  • Numerical Ability (4)

  • Algebra (1)
  • Number System (1)
  • Profit and Loss (1)
  • Programming (124)

  • Arrays (7)
  • Basics (5)
  • Database (4)
  • Definition (25)
  • Functions (3)
  • Output (4)
  • Program (20)
  • Puzzles (1)
  • Technical (43)
  • Verbal Ability (1)

  • Miscellaneous (1)
Keep an EYE (0)
Solved Question (3) UnSolved Question (258)
Pages: 27FirstPrev567891011121314NextLast
Advertisements

(#M40029427) JAVA QUESTION java Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is Constructor?

A. A constructor is a special method whose task is to initialize the object of its class. It is special because its name is the same as the class name. They do not have return types, not even void and therefore they cannot return values. They cannot be inherited, though a derived class can call the base class constructor. Constructor is invoked whenever an object of its associated class is created.

Asked In Java MAN (12 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (0)   (1) Submit Your Solution

(#M40029426) JAVA QUESTION java Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is servlet?

A. Servlets are modules that extend request/response-oriented servers, such as java-enabled web servers. For example, a servlet might be responsible for taking data in an HTML order-entry form and applying the business logic used to update a company's order database.

Asked In Java MAN (12 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution
Advertisements

(#M40029425) JAVA QUESTION java Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What are different types of access modifiers?

A. public: Any thing declared as public can be accessed from anywhere. private: Any thing declared as private can't be seen outside of its class. protected: Any thing declared as protected can be accessed by classes in the same package and sub classes in the other packages. default modifier : Can be accessed only to classes in the same package.

Asked In Java MAN (12 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (1)   (0) Submit Your Solution

(#M40029424) JAVA QUESTION java Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is HashMap and Map?

A. Map is Interface and Hashmap is class that implements that.

Asked In Java MAN (12 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution Definition

(#M40029423) JAVA QUESTION java Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is nested class?

A. If all the methods of a inner class is static then it is a nested class

Asked In Java MAN (12 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029422) JAVA QUESTION java Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is JIT and its use?

A. Really, just a very fast compiler In this incarnation, pretty much a one-pass compiler - no offline computations. So you can't look at the whole method, rank the expressions according to which ones are re-used the most, and then generate code. In theory terms, it's an on-line problem

Asked In Java MAN (12 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution Technical

(#M40029421) JAVA QUESTION java Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is the purpose of Void class?

A. The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the primitive Java type void.

Asked In Java MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (1)   (0) Submit Your Solution Definition

(#M40029420) JAVA QUESTION java Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is mutable object and immutable object?

A. If a object value is changeable then we can call it as Mutable object. (Ex., String Buffer, If you are not allowed to change the value of an object, it is immutable object. (Ex., String, Integer, Float, -)

Asked In Java MAN (12 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution Definition

(#M40029419) JAVA QUESTION java Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is the difference between yielding and sleeping?

A. When a task invokes its yield() method, it returns to the ready state. When a task invokes its sleep() method, it returns to the waiting state.

Asked In Java MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (1)   (0) Submit Your Solution Definition

(#M40029418) JAVA QUESTION java Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is the purpose of finalization?

A. The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected. For example, closing a opened file, closing a opened database Connection.

Asked In Java MAN (12 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (1)   (1) Submit Your Solution Program
Keep an EYE (0)
Solved Question (3) UnSolved Question (258)
Pages: 27FirstPrev567891011121314NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

Mathematics is a game played according to certain simple rules with meaningless marks on paper.

David Hilbert

" MATHEMATICS can be your best friend if you will use it frequently but it can be your worst enemy if you will neglect using it daily."

Elmor Earl F.Leonor

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 5 years ago

Thanks m4 maths for helping to get placed in several companies.
I must recommend this website for placement preparations.

yash mittal 5 years ago
  • 2533K+Registerd user
  • 1774K+Engineers
  • 759K+MBA Asprirant
  • 3K+Enginnering College
  • 250+Company Exam
  • 150K+Interview Questions
  • Site Links
  • Home
  • Result
  • Today's Puzzle
  • Discussion Board
  • Maths Tricks
  • Advertise with us
  • Contact Us
  • Useful Info
  • Maths Quotes
  • Previous Puzzles
  • Prize
  • Privacy Policy
  • Disclaimer and Copyright
  • Terms and Conditions
  • Sitemap
  • Placement papers
  • TCS Placement Paper
  • HCL Placement Paper
  • INFOSYS Placement Paper
  • IBM Placement Paper
  • SYNTEL Placement Paper
  • TECHNICAL Interview
  • HR Interview
All rights are reserved to @m4maths.com