can we have virtual functions in java?

Answer Posted / abdul nasir

virtual functions are present in java. but there is no need to write virtual with methods because it is built-in in java. you can override and call with their respective class objects and references directly........... :) b hapy dont confuse. programer is here.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why string is immutable with example?

526


Is sizeof a preprocessor?

538


How do you use find and replace?

504


What is the difference between multitasking and multithreading in Java

715


How do I print a “?

567






When do we use synchronized blocks and advantages of using synchronized blocks?

659


What is default size of arraylist in java?

551


What are the four pillars of java?

604


How do you know if a value is nan?

562


What is difference between string and stringbuffer?

485


How does multithreading take place on a computer with a single cpu in java programming?

522


What is data member in java?

497


What do you mean by static variable?

565


Is int primitive data type?

501


How long will it take to learn java?

500