The site for java interview questions, Jobs for Freshers.High-Salary Jobs,C Interview,Java Codes,Java Books,Java Resumes,Java String,Quiz Test,C FAQ,Java Struts,Java EJB,Java JSP..net Interview questions,
RSS Feed (xml)
Skin Design: Free Blogger Skins
Java software engineering interview questions1. What is the three tier model?Answer: It is the presentation, logic, backend2. Why do we have index table in the database?Answer: Because the index table contain the information of the other tables. It willbe faster if we access the index table to find out what the other contain.3. Give an example of using JDBC access the database.Answer:try{Class.forName("register the driver");Connection con = DriverManager.getConnection("url of db", "username","password");Statement state = con.createStatement();state.executeUpdate("create table testing(firstname varchar(20), lastname varchar(20))");state.executeQuery("insert into testing values(?phu?,'huynh?)");state.close();con.close();}catch(Exception e){System.out.println(e);}4. What is the different of an Applet and a Java ApplicationAnswer: The applet doesn?t have the main function5. How do we pass a reference parameter to a function in Java?Answer: Even though Java doesn?t accept reference parameter, but we canpass in the object for the parameter of the function.For example in C++, we can do this:void changeValue(int& a){a++;}void main(){int b=2;changeValue(b);}however in Java, we cannot do the same thing. So we can pass thethe int value into Integer object, and we pass this object into thethe function. And this function will change the object.More Helpful Placement Question Papers Resources: Free download online recent and current year solved placement question papers 2008 of leading companies in India and Abroad. See More Latest and previous expert, common, basic, important, advanced questions asked in technical interviews for 2007, 2008 january, february, march, april, may, june, july, august, september, october, november, decemberfor leading IT Companies in India, USA, UK, Norway, China. Reputed MNCs testing job interview questions for Wipro, Infosys, TCS, Satyam Computers, HCL, IBM, Cisco, Microsoft, Keane, Flextronics, Accenture, Cognizant, T Systems, SAP, Oracle, Texas Instruments, Quark, Patni Computer Systems, Mastek, BT, Dell, BPO, ITES companies, Software Companies. Freshers and on campus interview held in delhi, mumbai, bangalore, chennai, madurai, noida, gurgaon, chandigarh, mohali, pune, hyderabad, kolkata, thane, ahmedabad, etc. Recent, latest reasoning, multiple choice questions, verbal, non verbal, mathematics questions with solutions / solved / answer keys, booklet. GD topics for leading campus placement interview, placement drive, HR Interview Questions and answers, how to behave, Tips, preparation, most recently asked / important software testing interview, java, oracle, c, c++, networking, web designing, windows 2000, vista, etc. questions. Keep Watching Previouspapers.blogspot.com for more stuff!
Post a Comment
No comments:
Post a Comment