What is tochararray in java?
ublic class Java_Coding_Samples { public static void JavaHungr(NumberFormatException ae){ System.out.println("integer"); } public static void JavaHungry(Exception e){ System.out.println("string"); } public static void JavaHungry(ArithmeticException ae){ System.out.println("object"); } public static void main(String[] args) { JavaHungry(null); }
What is a container in a gui?
What is scope & storage allocation of static, local and register variables? Explain with an example.
What are the differences between the constructors and methods?
How do you declare an array in java?
What is integer parseint?
which one the better thread emplemented thread or extended ?
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..
In Inheritance if we are implementing Multi level inheritance and all class having same name of variable and now i want to access each class variable and how it is possible?
Is void a keyword in java?
which class is the wait() method defined in? : Java thread
how does the run() method in runnable work? : Java thread