Why is method overloading not possible by changing the return type in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Can you declare a private method as static?

0 Answers   TCS,


how to prepare for IT Officers Interview in Banks

0 Answers   TATA, Tata Steel Limited,


What is Garbage Collection in Java

0 Answers   Wipro,


What is the difference between jdk and jre?

0 Answers  


Hi Every One I Have Small Doubt Please answer This???????????????????????????? I Want to use AbstractList class methods(java.util.AbstractList) My Program is import java.util.*; class DemoOne extends AbstractList { public static void main(String[] args) { AbstractList a=new DemoOne();//This One is Correct?? DemoOne a1=new DemoOne();//This One is Correct?? Both Are Not Working System.out.println("Hello World!"+a); System.out.println("Hello World!"+a1); } } Error IS: DemoOne.java:2: DemoOne is not abstract and does not override abstract method get(int) in java.util.AbstractList class DemoOne extends AbstractList AnyOne can Please Provide The Solution????????????????????????? Plzzzzzzz

3 Answers  






Hi Friends, I am beginner in java. what i know about synchonized keyword is,If more that one 1 thread tries to access a particular resource we can lock the method using synchronized keyword. Then after that how the lock is released and how next thread access that.Please explain with example.

5 Answers  


What is a modifier?

1 Answers  


What is a class ?

8 Answers  


what is Hashmap & Hashtable wirh example?

5 Answers   CTS, Saksoft,


How HashMap implemented in java? how it internally works when values are added or searched from hashMap?What is the difference betweenthe implementation of hashmap and Linked Hashmap?

3 Answers   IBM,


How will you load a specific locale?

0 Answers  


Mention some features of java?

0 Answers  


Categories