Core java - Interview Questions and Answers for 'British telecom (bt)' | Search Java Interview Question - javasearch.buggybread.com
Questions
Search
List By Company
List By Topic
Legacy
Tests
Repository
DashBoard
Java
Java 8
Java 7
Java Abbreviations
OCJP / SCJP
Class List
New in Java 8
Java Exceptions
Spring Exceptions
Java Enums
Java 8 Lambda
Java 8 java.time
Big Data
Best Of Java
Discussion
Search
Subscribe
Search Interview Questions
3152 questions in repository.
There are more than 200 unanswered questions.
Click here
and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company
Label / Company / Text
Search
Submit Question
Core java - Interview Questions and Answers for 'British telecom (bt)' - 2 question(s) found
- Order By Newest
Frequently asked in Infosys and HCL Technologies ( Based on 2 feedback )
Q1.
What are different ways of object creation in Java ?
Core Java
Admin
info@buggybread.com
Ans. Using new operator - new xyzClass()
Using factory methods - xyzFactory.getInstance( )
Using newInstance( ) method - (Class.forName(xyzClass))emp.newInstance( )
By cloning an already available object - (xyzClass)obj1.clone( )
Sample Code for object initialization using clone
Sample Code for object initialization using getInstance
Help us improve. Please let us know the company, where you were asked this question
:
Like
Discuss
Correct / Improve
java
oops
object creation
new operator
class.forname
cloning
ebay
Intelligrape
Infosys
Polaris
British Telecom (BT)
Vyom Labs
Deutsche Bank
HCL Technologies
Genpact
Thomson Reuters
expert
Correction
Duplicate of Another Question
Company where this question was Asked
Suggestion
Related Questions
Describe what happens when an object is created in Java ?
Does Constructor creates the object ?
Difference between new operator and Class.forName().newInstance() ?
Difference between Class#getInstance() and new operator ?
In a case where there are no instance variables what does the default constructor initialize?
How can we prevent duplicate object creation in Java?
Q2.
Difference between Vector and ArrayList ?
Core Java
Anonymous
Ans. Vectors are synchronized whereas Array lists are not.
Help us improve. Please let us know the company, where you were asked this question
:
Like
Discuss
Correct / Improve
java
basic interview question
vector
arraylist
collections
synchronization
Oracle
Lab49
Infosys
Wipro
Zoho
HCL Technologies
Tata Consultancy (CTS)
BirlaSoft
Emory
Xplana
British Telecom (BT)
Apex Systems
Capgemini
Accenture
Accenture India
3dplm Software Solution
AppKnox
eIntern
Landmark Information Group
ESystems
Orbitz Worldwide
HARMAN
Starmount
iConsultus
KARYA Technologies
Smart Chip
Cuelogic Technologies
Kronos
Trigent Software
Deloitte
ACI Worldwide
Unisys
Tavant Technologies
Referance data
basic
 
frequent
Correction
Duplicate of Another Question
Company where this question was Asked
Suggestion
Related Questions
If you are given a choice to use either ArrayList and LinkedList, Which one would you use and Why ?
What is the difference between ArrayList and LinkedList ?
Difference between TreeMap and HashMap ?
Difference between HashMap and Hashtable?
Can you provide some implementation of a Dictionary having large number of words ?
Collections.sort can only be performed on ..
a. Set
b. List
c. Map
d. Any Collection implementation
What is the difference between List, Set and Map ?
or
What are the different Java Collections Interfaces ?
What are strong, soft, weak and phantom references in Java ?
What are the Disadvantages of using Collection Classes over Arrays ?
Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by
FeedBurner
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus
Help us and Others Improve. Please let us know the questions asked in any of your previous interview.
Any input from you will be highly appreciated and It will unlock the application for 10 more requests.
Company Name:
Questions Asked:
X Close this
X Close this
Help Us Improve.
Please share your
interview experience.
Company Name:
Questions Asked: