What is void in java?
Answer / Sushmita Kesari
"In Java, 'void' represents the absence of a return value. It is used as the return type for methods that do not return any value."
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain cookies?
write a program to create an arraylist with string(add,remove) operation.and value should be enter through keyboard.
This is my code i have a doubt class ab implements a,b { public void add() { System.out.println("Hi") } } interface a { public void add(); } interface b { public void add(); } in this code i have two interface implemented in the class has same method.just i want to know which method of interface implemented in the class. interface a or interface b? confused me .
What is procedure overloading?
What is the difference between char and char *?
What is a flag variable?
What’s the difference between the methods sleep() and wait()?
Is treeset sorted in java?
Difference between this() and super() ?
what is the difference between yielding and sleeping? : Java thread
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What is default exception handling in java?