☆ şħάħ ģέέ ☆ has not received any gifts yet
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.
We are user-generated contents & non-commercial site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. All Contents on site are for personal & non-commercial use.We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post
Comment Wall (2 comments)
You need to be a member of Virtual University of Pakistan to add comments!
Join Virtual University of Pakistan
Yaar mere assignment cs508 submit nahi ho sakee time up pher me ne email ki hain pata nahi submit hote hain ya nahi
or tumharee?
mujy email kar kay batana zaror
public class Student {
private String studentid;
private String courseid;
private String studentname;
public Student()
{
studentid =”not set”;
courseid =”not set”;
studentname = “not set”;
}
public void setStudentID(int sid)
{
if(sid>0){
this.studentid = sid;
}
else
{
this.studentid=100;
}
}
public void setCourseID(int cid)
{
if(cid>0){
this.studentid = cid;
}
else
{
this.studentid=100;
}
}
public void setName(String name)
{
this.studentname=name;
}
String getStudentID()
{
return studentid;
}
String getCourseID()
{
return courseid;
}
String getName()
{
return studentname;
}
public void print()
{
System.out.println(“Student ID is:” + studentid );
System.out.println(“Course ID is:” + courseid );
System.out.println(“Student ID is:” + studentname );
}