When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
No Answer is Posted For this Question
Be the First to Post Answer
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
Describe what happens when an object is created in java ?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
is it possible to instantiate the math class?
What are different types of Exceptions?.
What is lazy activation?
What is an accessor?
What is the syntax and characteristics of a lambda expression? Explain
Can we convert stringbuffer to string?
where final and static variable stored?
How can you take string into InputStream?
Can we sort list in java?