difference between java ,c#&java,c++
Answers were Sorted based on User's Feedback
Answer / kandavel
java is thread based language but C++ is process based Language
java is pure object oriented language but C++ is Partial
object oriented language
| Is This Answer Correct ? | 12 Yes | 5 No |
Answer / jagdisg prajapati
java is a pure object oriented language because all
applications are created inside the class in java. We can
not create structure in java but structure are created in c++.
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / suresh
Main difference is java is platform independ but
c++,c# are platform dependent
| Is This Answer Correct ? | 2 Yes | 1 No |
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion
who can i handle multiple client in RMI
Can you access non static variable in static context?
what are the boundaries of jdk and jre?
What is use of inner class in java?
What is the difference between Error, defect,fault, failure and mistake?
What are methods of a class?
What is the difference between DataInputStream and BufferedReader
What is the instance of an object?
11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.
I have a sorting issue with a Hashmap. My constraint is that I MUST use the Hashmap and work with existing code. I do a database query and place the results in a Hashmap. When I iterate thru the Hashmap, it loses the original alphabetical sorting done by the database. So, my problem is that I must sort the results coming out of the Hashmap which is then placed into another class.
How do I compare two strings in word in java?