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: interview questions on lpc2148, sugathakumari interview questions, java swing interview questions, interview scientist questions, sbi interview questions*, interview questions sell, web based projects using core java,

[-]
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,286 12-05-2014, 10:04 PM
Last Post: seminar report asees
  Privacy-Preserving Updates to Anonymous and Confidential Databases - JAVA project uploader 3 2,207 23-12-2012, 07:35 PM
Last Post: mr.patil1234
  Java™: The Complete Reference, Seventh Edition project uploader 0 1,063 09-06-2012, 05:07 PM
Last Post: project uploader
  An Ontology-Supported Web Focused-Crawler for Java Programs project uploader 0 1,170 08-06-2012, 11:31 AM
Last Post: project uploader
  Building a Java chat server seminar details 0 1,347 07-06-2012, 12:07 PM
Last Post: seminar details
  Understanding the Java ClassLoader seminar paper 0 869 15-03-2012, 02:37 PM
Last Post: seminar paper
  Java Basics project uploader 0 879 14-03-2012, 10:19 AM
Last Post: project uploader
  Object Oriented Programming with Java seminar paper 0 849 12-03-2012, 03:40 PM
Last Post: seminar paper
  G. K. questions seminar paper 0 872 08-03-2012, 05:04 PM
Last Post: seminar paper
  .NET interview question seminar paper 0 851 02-03-2012, 02:10 PM
Last Post: seminar paper

Forum Jump: