What is method in java with example?


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

Post New Answer

More Core Java Interview Questions

What variables are stored in stack?

0 Answers  


What is polymorphism in java? What are the kinds of polymorphism?

0 Answers  


Diff between C++ and java?

9 Answers   TCS,


What is the abstraction?

0 Answers  


What is immutable class in java?

0 Answers  






Why is prepared Statement, Callable Statement used for? What is the need of Batch updates?

1 Answers   Logica CMG,


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  


How do you define a variable?

0 Answers  


Can you have an inner class inside a method and what variables can you access?

2 Answers  


Explain naming conventions for packages?

0 Answers  


What is finalize()? Is finalize() similar to a destructor?

0 Answers  


Is integer a class?

0 Answers  


Categories