OK Thank you very much!!!
tzungshian
Posts
-
Web Questions -
Web QuestionsHello everyone: May I ask Java Web questions in there?? Thank you very much.
-
The problem about java multiple inheritanceThank you very much!!!
-
The problem about java multiple inheritance:) Hi, everyone May I ask a questions?? C++ is my first language but I now I need to learn Java. C++ supports multiple inheritance. Example: Class c Protected class a(), class b() { } But Java doesn't support multiple inheritance. Java use interface to implement multiple inheritance. My question is how to use interface to achieve multiple inheritance. Thank you very much.
-
InversePrint the inverse number. Ex: 2178*4=8712 Write down a program which can satisfy the prerequisite and print out the screen. The answer is: [code]
void inverse2 ()
{
int i,j;
for (i=1000;i<=9999;i++)
for (j=1;j<=9;j++)
if (i*j==inverse (i))
printf("%5d%2d",i,j);}
[/code]I can't understand the double for loop.
Can anyone please help me?
Thanks!!! -
The SQL problem about student majoring coursesYes. I understand it. Thank you very much.
-
The SQL problem about student majoring coursesCOURSE (CourseID, Cname, Ccredit) TEACHER (TeacherID, Tname, Toffice) STUDENT (StudentID, Sname, Sclass) TAKE_COURSES (CourseID, TeacherID, StudentID, Score, ClassRoom) Question: List all the name of students whose subjects are all past. The answer is: SELECT Sname FROM STUDENT WHERE NOT EXISTS( SELECT * FROM TAKE_COURSE WHERE TAKE_COURSE.StudentID= STUDENT.StudentID AND Score<60) I can't understand this sentence WHERE TAKE_COURSE.StudentID= STUDENT.StudentID AND Score<60) Can anyone please tell me how to resolve it? Thank you very much.