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; }

2335

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

2 4192

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

Jamcracker, Virtusa,

2 8450

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

1 5118

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 5361

what is data binding? give the example

TCS,

1 4833

what is deadlock in threads? with example

CTS, XOXO,

2 5611

Difference between abtsract & final

Nous,

1 4048

Difference between error and exception

Nous, TCS,

3 6048

Superclass of exception

Nous,

4 6651

Write POJO class as a key to hashmap???

2 12982

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

2376

WAP to illustrate the use of interface

2 4178

What is difference between JMS and Web Services?

4873

Difference between Map & Hashmap

Mastek,

2 6508


Un-Answered Questions { Java J2EE }

Can we declare a static variable inside a method?

997


Can you explain the directory structure for a struts folder in brief ?

964


What is the difference between system.out ,system.err and system.in?

1099


What is the file extension you use for hibernate mapping file?

448


What are the benefits of Struts framework?

1000


Can we overload the methods by making them static?

997


What is default locale java?

1109


What are types of dependency injection?

416


What is jpanel swing?

1183


Where import statement is used in a java program?

1122


What is main method in java?

1086


Which messaging modes are included in the java messaging service jms )?

786


What is final keyword?

1153


How do you declare a string variable?

1017


What is statement and preparedstatement in java?

878