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 6424Why Static variable required in java?For ex,class A { static int a; int b; } Why static is required?
5 9090In 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 5004What 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?
1 2569java Api provided try catch finally ,try catch(its ok) but why try finally and exception occured at try then how the flow is?
1 5178
Find Best Job Vacancies across the world on Jooble!
How is declarative handling of exceptions done in struts ?
Is minecraft 1.15 out?
What is an object in java and how is it created?
How to sort array in descending order in java?
What is a constructor overloading in java?
How to create a base64 decoder in java8?
Can we return resultset in java?
What are the contents on web.xml in struts application ?
Write a program to print count of empty strings in java 8?
What is the difference between equals() and == in java?
Write a program to find the whether a number is an Armstrong number or not?
Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance
i want test pattern of zylog company and some examples also
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example