Core Java (6529)
Advanced Java (552)
Swing (223)
EJB (402)
Java Networking (49)
Hibernate (1009)
Spring Framework (1486)
Java J2EE AllOther (116) 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..
2 6414Why Static variable required in java?For ex,class A { static int a; int b; } Why static is required?
5 9081In collection sorting comparable and comparator interface will be used..but why this two interfaces required..two will work same purpose so why there are two interfaces instead of one?when to use comparator and when to use comparable?
1 4996What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
2561java Api provided try catch finally ,try catch(its ok) but why try finally and exception occured at try then how the flow is?
1 5172
What is the java persistence api used for?
What are the benefits of spring boot? : Spring Boot
What are the different types of JDBC drivers?
Is a copy constructor?
What are the differences between checked exception and unchecked exception?
Explain about publish model?
how to create broker from command prompt?
Tell us about the spring framework.
How does hibernate update work?
How do I get 64 bit java?
What are the callback annotations for the stateless bean?
What is socket in java?
Can we return resultset in java?
How does hibernate distinguish between transient (i.e. Newly instantiated) and detached objects?
Is jpa better than hibernate?