• 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 10

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: 27FirstPrev6789101112131415NextLast
Advertisements

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

Q. What is the difference between error and an exception?

A. An error is an irrecoverable condition occurring at runtime. Such as OutOfMemory error. These JVM errors and you can not repair them at runtime. While exceptions are conditions that occur because of bad input etc. e.g. FileNotFoundException will be thrown if the specified file does not exist. Or a NullPointerException will take place if you try using a null reference. In most of the cases it is possible to recover from an exception (probably by giving user a feedback for entering proper values etc.).

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

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

Q. What are runtime exceptions?

A. Runtime exceptions are those exceptions that are thrown at runtime because of either wrong input data or because of wrong business logic etc. These are not checked by the compiler at compile time.

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

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

Q. What are checked exceptions?

A. Checked exception are those which the Java compiler forces you to catch. e.g. IOException are checked Exceptions

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

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

Q. What is a Java Bean?

A. A Java Bean is a software component that has been designed to be reusable in a variety of different environments.

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

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

Q. What is RMI architecture?

A. RMI architecture consists of four layers and each layer performs specific functions: a) Application layer - contains the actual object definition. b) Proxy layer - consists of stub and skeleton. c) Remote
Reference layer - gets the stream of bytes from the transport layer and sends it to the proxy layer. d) Transportation layer - responsible for handling the actual machine-to-machine communication.

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

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

Q. What is URL?

A. URL stands for Uniform Resource Locator and it points to resource files on the Internet

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

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

Q. What is Domain Naming Service(DNS)?

A. It is very difficult to remember a set of numbers(IP address) to connect to the Internet. The Domain Naming Service(DNS) is used to overcome this problem. It maps one particular IP address to a string of characters. For example, www. mascom. com implies com is the domain name reserved for US commercial sites, moscom is the name of the company and www is the name of the specific computer, which is mascom's server

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

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

Q. What is the difference between this() and super()?

A. This() can be used to invoke a constructor of the same class whereas super() can be used to invoke a super class constructor.

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

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

Q. What is method overloading and method overriding?

A. Method overloading: When a method in a class having the same method name with different arguments is said to be method overloading. Method overriding : When a method in a class having the same method name with same arguments is said to be method overriding.

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

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

Q. What is the use of bin and lib in JDK?

A. Bin contains all tools such as javac, appletviewer, awt tool, etc., whereas lib contains API and all
packages

Solution
Ans:-Bin contains all tools such as javac, appletviewer, awt tool, etc., whereas lib contains API and all
packages


Like manish sir answer on facebook.

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

Resend

Sponsored Links

Advertisements

Challenger of the Day

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

Maths Quotes

"maths is all around us, in everything we do"

aashna thakral

If I were again beginning my studies, I would follow the advice of Plato and start with mathematics.

Galileo Galilei

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

Now enjoy Offline Access of latest Question.

Get M4maths app to avail expert's solution and latest selected questions.

Download m4maths app now

  • 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