explain different ways of using thread? : Java thread
No Answer is Posted For this Question
Be the First to Post Answer
I have one Shopping cart application, i that i have selected some items, while clicking submit button by mistake i have clicked twice or trice, that time items are selected twice or trice. Actually i want only one copy of items but its selected twice or trice. So how can we avoid this problem?
what is object deep copy and shallow copy and why it is required?
What is an off by one error in java?
What technique can be employed to compare two strings?
Interface A { String test(); } Interface B { int test(); } Create a class AB which must implements both A & B interfaces.
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
Scenario: There are 1 to 100 numbers. Each number should be keep in the each column like from A column to Z column ie 1 to 26. From 27 to 52 should be in 2nd row in the excel sheet. This has to be continue till 100. How do you write Java program and what are various methods.
List java api that supports threads?
what is difference Between Core Java and advance java
60 Answers HCL, HP, Sambalpur University, TCS, Vensai Technologies, Wipro,
What methods are used to get and set the text label displayed by a button object?
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); }
where singleton classes are used in j2ee web application.can we use it for connection pooling.