If an application has multiple classes in it, is it okay to have a main method in more than one class?
No Answer is Posted For this Question
Be the First to Post Answer
What is the technique adopted to create an immutable class?
What collections you have worked on? Internal working of Hashmap?
What is the difference between double and float variables in java?
What is a numeric string?
wahts is mean by thread?
22 Answers HCL, TCS,
In a container there are 5 components. I want to display all the component names, how will you do that?
What is an Applet ?
What are static blocks in java ?
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..
What are the steps to do connection pooling in weblogic?
What is the need to implement Serializable interface (with no methods) for objects which are to be serialized ? We can write our own functionality which writes objects to streams then why we need to implement and tell JVM that which objects can be serialized.
What is CardLayout?