Programs Knowledge

//Program  to Add Two numbers in JAVA//

Steps:

1) Write this code in notepad.

2)Save Notepad file as add1.java

3)Run Command Prompt where you save your file 

4)Run "javac add1.java"

5) Run "java add1"


//Program to accept a number and print individual digits//


 

//Swapping Using FRIEND FUNCTION in C++//

 



 

 //The Program to Demonstrate Multiple Inheritance//

//Program to Demonstrate Hybrid inhertance//

//Program To Demonstrate Use of Virtual Function//



1 comment: