answersLogoWhite

0

What is virtual method invocation in java and net?

Updated: 8/18/2019
User Avatar

Wiki User

13y ago

Best Answer

Virtual method invocation is a term borrowed from C++. It means that methods are invoked polymorphically. Instead of invoking the method in the compile-time type, the method is invoked as its runtime type. In C++, you declare methods virtual that are executed this way.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is virtual method invocation in java and net?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the differences between java language and net language?

I took a Introduction to Java course last year. I had the same question when I started the class http://www.DevelopIntelligence.com/catalogue/java-training.php. But I learned that Java and .NET are both platforms that run applications. Both platforms use something known as a virtual machine. In the Java platform, the primary programming language use to write applications is called Java. In the .NET platform, the programming language choices include VB.NET, C++.NET, C#.NET. In other words, there is no "difference between the Java langage and the .net language" as there is no "net language". The Java language is most similar to the C# language in .NET. There are some technical differences, but in general they are about the same.


Variable vs property in net?

Property allows access to a variables like a get-set method in Java.


What is best platform net or java?

java is the best platform compared to dot net


What would be the best java or net?

Java is always the best. Java is great for Enterprise while desktop is the place for .Net


Why net is need when have java?

Java (from Sun) is a programming language that is interpreted in bytecode using a virtual interface, it sounds complicated and it is more complicated than simply using HTML to display a page, and it is also much slower.


What do you call a Program that runs Java byte code instruction?

Get the JDK & Bluej from net and the rest will be done by them. Java byte codes are stored as *.class ; where "*" represents the class name, in your hard disk. You can download BlueJ as well as JDK from the related link.


Who is the most powerful java or net?

Java is cross-platform while .NET is for Windows platforms only.


What should you study first java or vb or net?

Java


What is the main difference between java and dotnet?

java is from sun and .net is from microsoft, java is a language + runtime and .net is run frame that supports multiple language.


Is it c sharp language runs and execute on different platforms?

No. C# runs on .NET platforms, and on compatible ports such as the Mono framework. C# and .NET was developed by Microsoft as an alternative to Java, which can itself be compiled once and executed upon any platform with a suitable Java Virtual Machine implementation, which is pretty much everything these days.


What is .NET Framework in java?

The short answer is: there is no such thing. Explanation: .NET and Java and two completely different frameworks, although there are some similarities between them - use of virtual machines, JIT compilation, etc. Also, C# has some similarities in syntax with Java. But on the whole both languages and the underlying framework are completely different. For example, C# supports pointer arithmetic, unsigned integers, while Java don't. On the other hand, .NET is something that was meant to be run on Windows exclusively, while the goals of Java platform is to provide you with an arsenal that you can use on any operating system without any change in your code. So due to these differences it is very problematic and unnecessary to port any serious code from .NET to Java and vice versa.


Why java is preferred to dot net?

Java can run on any operation system(platform independent) but .net runs only under windows.