Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...




Java J2EE Interview Questions
Questions Answers Views Company eMail

public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI = 0; int countJ = 0; int countK = 0; int countL = 0; int countM = 0; int countN = 0; int countO = 0; int countP = 0; int countQ = 0; int countR = 0; int countS = 0; int countT = 0; int countU = 0; int countV = 0; int countW = 0; int countX = 0; int countY = 0; int countZ = 0; } } Can anybody tell me any alternate solution(like loop or something) to automate this initialization process. Ex:- for(char chr='A';chr<='Z'; chr++) { (int) String "count"+chr = 0; }

2343

what is different between static and non static methods ,using example

2 4212

Which collection object is faster to retrieving the data and inserting the data into it.

Jamcracker, Virtusa,

2 8466

what is the difference b/w static and final methods?

1 5138

MY code is: public class P1{ public static void main(String ar[]) { class.forName("java.lang.String"); } } errors i got are :New.java:5: error: expected class.forName("java.lang.String"); ^ New.java:5: error: invalid method declaration; return type required class.forName("java.lang.String"); ^ New.java:5: error: illegal start of type class.forName("java.lang.String"); ^ New.java:7: error: reached end of file while parsing } ^ 4 errors HELP ME>......

3 5370

what is data binding? give the example

TCS,

1 4844

what is deadlock in threads? with example

CTS, XOXO,

2 5631

Difference between abtsract & final

Nous,

1 4066

Difference between error and exception

Nous, TCS,

3 6067

Superclass of exception

Nous,

4 6681

Write POJO class as a key to hashmap???

2 12995

my interviewer asked me what technical specification you used how to answer that question

2382

WAP to illustrate the use of interface

2 4190

What is difference between JMS and Web Services?

4884

Difference between Map & Hashmap

Mastek,

2 6535


Un-Answered Questions { Java J2EE }

Can you write a java class that could be used both as an applet as well as an application?

962


Explain about oops concepts.

1126


What are some disadvantages of storing session state in cookies?

1023


What does java ee stand for?

879


How to generate a thread dump?

966


5 Coding best practices you learned in java?

1019


Why swings are called lightweight components?

1055


What is applicationscoped?

974


Are struts and shocks the same?

915


Explain oops concepts in detail?

1030


Why are http servlets used in programming?

1012


What is second level caching?

353


What are advice, aspect, join-point and point cut in spring?

396


What is the string function?

960


What inbuilt themes are provided by struts2?

1112