Interview Questions and Answers for 'PwC' - 6 question(s) found - Order By Newest Frequently asked. Favorite question in Walk in Drive of many Indian service companies. Q1. What are the methods of Object Class ? Core Java Anonymous
Ans. clone() - Creates and returns a copy of this object.
equals() - Indicates whether some other object is "equal to" this one.
finalize() - Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
getClass() - Returns the runtime class of an object.
hashCode() - Returns a hash code value for the object.
toString() - Returns a string representation of the object.
notify(), notifyAll(), and wait() - Play a part in synchronizing the activities of independently running threads in a program. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve java oops object class Capgemini NIIT Technologies
Virtusa Goldman Sachs PwC Citi Expeditors SoftFluent LinkedIn Amadeus Navteq PLC Systems Axtria Associate Netcracker Technology Altisource basic   frequent Try 1 Question(s) TestAdvanced level question frequently asked in US based companies. Recently asked in EMC and Intuit. Q2. Can you provide some implementation of a Dictionary having large number of words ? Solution Admin info@buggybread.com
Ans. Simplest implementation we can have is a List wherein we can place ordered words and hence can perform Binary Search.
Other implementation with better search performance is to use HashMap with key as first character of the word and value as a LinkedList.
Further level up, we can have linked Hashmaps like ,
hashmap {
a ( key ) -> hashmap (key-aa , value (hashmap(key-aaa,value)
b ( key ) -> hashmap (key-ba , value (hashmap(key-baa,value)
....................................................................................
z( key ) -> hashmap (key-za , value (hashmap(key-zaa,value)
}
upto n levels ( where n is the average size of the word in dictionary. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve java collections hashmap binary search search algorithm advanced architecture data structure Dell EMC Intuit Corporate Brokers PWC India Yahoo Oracle   frequent Try 1 Question(s) TestVery Frequently asked to fresh graduates and less experienced. Favorite question in Walk in drives. Frequently asked in Indian Services companies. Q3. Difference between Overloading and Overriding ? Core Java Anonymous
Ans. Overloading - Similar Signature but different definition , like function overloading.
Overriding - Overriding the Definition of base class in the derived class. Sample Code for overloading Sample Code for overriding Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve java oops overloading overriding oops concepts basic interview question PC Technology Cognizant (CTS) Donlen hybris Software RedMane Allerin Technologies Gemalto Allerin Technologies HCL Technologies Tata Consultancy (TCS) Accenture Accenture India Infosys Technologies Polaris United Healthcare India IBM India Xchanging American Express Antra Flipp Computer Sciences Corporation (CSC) Garmin NetSuite Donlen Hudsons Bay Techlogix SevOne Synactive Oodles Technologies FDM Group Marlabs RedMane Technology Faichi Solutions TD Tech Mahindra Shutterfly Luxoft PC Technology CCC Information Services State Farm Raja Software Mastek EPAM Morgan Stanley SummitWorks Sony Citibank Emtec LowerMyBills Consilience Xavor AllState FasTrak AmTrust Financial Walt Disney Ultramain Systems International Turnkey Systems Knoldus Software CA Technologies Amdocs FDM Group Hybris Fidelity United Health Group (UHG) Bluewhale Solutions Pegasystems Revature
Innoplexus Vanguard AptSource Perficient Grapecity Subex QuintilesIMS NimbleUser Expeditors Associate Sapient HR Cloud Summitworks Jabong.com Kony Labs Price Waterhouse Coopers (PWC) basic   frequent Try 1 Question(s) TestVery Frequently asked Spring question. Q4. What is bean auto wiring? Spring Admin info@buggybread.com
Ans. The Spring container is able to autowire relationships between collaborating beans. This means that it is possible to automatically let Spring resolve collaborators (other beans) for your bean by inspecting the contents of the BeanFactory without using and elements. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve j2ee spring mvc frameworks web applications autowiring beans at&t ge Infosys HCL Technologies Tata Consultancy Wipro PwC Tech Mahindra AT&T General Electric Sophos   frequent Q5. How do you take screenshot in selenium? Selenium 2017-05-24 20:39:56
Ans. TakeScreenshot th = TakeScreenshot(driver); //Enable the driver object to take screenshot
File src = th.getScreenShotAs(OutputType.FILE);
FileUtils.copyFilesrc("locationWhereUWantToPlaceTheScreenshot.jpg"); Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve webdriver selenium Price Waterhouse Coopers (PWC) Q6. How to instantiate jsp variable from another jsp? JSP 2018-03-23 17:27:31
This question was recently asked at 'Price waterhouse Coopers (PWC)'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve Price waterhouse Coopers (PWC)