Core Java Interview Questions
#1

Core Java Interview Questions
01. What is Method Overloading?
Method Overloading is the process of creating a new method with the same name and different signature.
02. What is Encapsulation?
03. What is Constructor?
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.
04. What is diamond problem?
The diamond problem is an ambiguity that can occur
when a class inherits from two classes that both
descend from a common super class
05. What is Inheritance?
Inheritance is the process by which one object acquires the properties of another object.
A class that is inherited is called a superclass.
The class that does the inheriting is called a subclass.
06. What are static methods?
Methods declared with the keyword static as modifier are called static methods or class methods.
They are so called because they affect a class as a whole, not a particular instance of the class. Static methods are always invoked without reference to a particular instance of a class.
Note: The use of a static method suffers from the following restrictions:
* A static method can only call other static methods.
* A static method must only access static data.
* A static method cannot reference to the current object using keywords super or this.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: panel interview questions for, interview questions to anna, citrix edgesight interview questions, interview questions lawsuits, sania mirza interview questions, core side interview questions and answers for ece pdf download, help interview questions,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  Physics Lab Viva Voce Questions and its answers Laser Parameters seminar addict 2 10,212 12-05-2014, 10:04 PM
Last Post: seminar report asees
  Privacy-Preserving Updates to Anonymous and Confidential Databases - JAVA project uploader 3 2,166 23-12-2012, 07:35 PM
Last Post: mr.patil1234
  Java™: The Complete Reference, Seventh Edition project uploader 0 1,042 09-06-2012, 05:07 PM
Last Post: project uploader
  An Ontology-Supported Web Focused-Crawler for Java Programs project uploader 0 1,158 08-06-2012, 11:31 AM
Last Post: project uploader
  Building a Java chat server seminar details 0 1,321 07-06-2012, 12:07 PM
Last Post: seminar details
  Understanding the Java ClassLoader seminar paper 0 847 15-03-2012, 02:37 PM
Last Post: seminar paper
  Java Basics project uploader 0 854 14-03-2012, 10:19 AM
Last Post: project uploader
  Object Oriented Programming with Java seminar paper 0 841 12-03-2012, 03:40 PM
Last Post: seminar paper
  G. K. questions seminar paper 0 854 08-03-2012, 05:04 PM
Last Post: seminar paper
  .NET interview question seminar paper 0 832 02-03-2012, 02:10 PM
Last Post: seminar paper

Forum Jump: