CS506 Midterm Current Paper 10 Dec 2017

CS506 Midterm Current Paper 10 Dec 2017

1)write a code statement that print "Hello" in applet of the coordinates (20,30).

2)write the program that takes two integer and adding them. 

3)write a program in java that Animals interface calling to function living() and walking() and Birds implements Animals interface and living() prints Home or walking() prints the walk. The home and walk use the string interface.

4)the code in java that create the database name as Student and delete the student.
table name as Student
column name as studentName
DSN as studentDSN.

5)where we use args[ ] in the main method of the java program?

Welcome to Our WebSite! - | Virtual Ning | Pakistan NO # 1 . Website for the Students of Virtual University.

Click here for Comments