Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
What collections you have worked on? Internal working of Hashmap?
What is array size in java?
Which class is the superclass for all the classes?
Why do people says “java is robust”?
Why are inner classes required?
What is variable explain with example?
What is difference between classpath and path variables 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 is the size of an array?
What is number data type in java?
Why does java have two ways to create child threads?
What is Co-Variant return type in method overriding?