What is the difference between C++ & Java?
Answer Posted / abdull wadood
In c++ you can use destructor but in java u can't use
destructor.
In java u can request the compiler to garbage collector.
| Is This Answer Correct ? | 20 Yes | 3 No |
Post New Answer View All Answers
Can a abstract class be declared final?
How many bytes is a string?
How strings are created in java?
Why do we need array in java?
What is assembly condition codes?
What are new features introduced with java 8 ?
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. (
Can you change array size in java?
Differentiate between a class and an object.
What is an interface in java?
How are variables stored?
Explain yield() method in thread class ?
How java uses the string and stringbuffer classes?
Is java util regex pattern thread safe?
What is collections framework?