Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between overloading and overriding a
function?

Answers were Sorted based on User's Feedback



What is the difference between overloading and overriding a function?..

Answer / rohit

overriding is used in diferent class with same parameters
overloading method :- is sem class in defintoin.
overriding method:- is subclass and super class in
definatioc

Is This Answer Correct ?    0 Yes 0 No

What is the difference between overloading and overriding a function?..

Answer / meraj ansari

this answer is correct

Is This Answer Correct ?    0 Yes 0 No

What is the difference between overloading and overriding a function?..

Answer / nishchita

In overloading 2 function should have different signature
but in overriding must have exactly same signature.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How will you add panel to a frame?

0 Answers  


What is assembly language?

0 Answers  


Can you make a constructor final in Java?

0 Answers   SwanSoft Technologies,


Why does my function print none?

0 Answers  


What are the main features of java?

0 Answers  


import java.io.*; class Demo { public static void main(String args[]) { File f=new File("1234.msg"); String arr[]=f.list(); System.out.println(arr.length); } }

3 Answers   IBM, Ramco,


Write program to print Hello World and print each character address in that string and print how many times each character is in that string? Ex: H: 0 & 1 e:1 & 1 l :2,3,8 & 3 o:4,6 & 2 w:5 & 1 r: 7 & 1 d 9 & 1

7 Answers   Huawei, IBM,


Describe what a thread-local variable is in java?

0 Answers  


What is the history of java?

0 Answers  


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

0 Answers  


What are the classes of java?

0 Answers  


What is a class ?

8 Answers  


Categories