A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
No Answer is Posted For this Question
Be the First to Post Answer
Explain scope or life time of local variables in java?
What are the notations in Java?
What is the major drawback of internal iteration over external iteration?
solve this is my problem byte a=40,byte b=50 both add value is 90 this is with in range of byte... byte range is -128to 127.... why this pgm gives error like type mismatch.... package javapgms; public class byte1 { public static void main(String args[]) { byte a=40,b=50; byte c=a+b; System.out.println(c); } } note : dont use int k... a,b,c are in byte range... mind it..
How do you sort in java?
What about interrupt() method of thread class ?
What is a instance variable?
Is a string literal?
How do you convert string to int in java?
What is the significance of listiterator?
What is meant by Encapsulation? Can you write a class to explain encapsulation?
What is the benefit of using enum to declare a constant?