What is the difference between overloading and overriding a
function?
Answers were Sorted based on User's Feedback
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 |
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 |
How will you add panel to a frame?
What is assembly language?
Can you make a constructor final in Java?
0 Answers SwanSoft Technologies,
Why does my function print none?
What are the main features of java?
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); } }
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
Describe what a thread-local variable is in java?
What is the history of java?
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
What are the classes of java?
What is a class ?