Java J2EE (14736)
J2ME (151)
Java Related AllOther (507) class A { public void disp(int a,int b) { System.out.println("hai"); } } class B { public void disp(int a,int b,int c) { System.out.println("hai"); } } above program is overloading or overriding?
9 14251where to use join method and explain with real time senario?and programatical explenation also..
TCS,
1 4992In a container there are 5 components. I want to display all the component names, how will you do that?
1 2272
How does java handle integer overflows and underflows?
Are jvm’s platform independent?
Can we extract main method from another class?
Realized?
What is the locale class?
Write a program to find the whether a number is an Armstrong number or not?
What is the difference between equals() and == in java?
Write a program to print count of empty strings in java 8?
How can you inject java collection in spring?
What is the difference between break and continue statements?
Explain public static void main(string args[]) in java.
What is parsing in java?
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
What do you mean by an interface in java?
explain different ways of using thread? : Java thread