OBJECT ORIENTED PROBLEM SOLVING SKILLS
[
Log In
]
Home
OOP
Classes and Objects
Question 1
Question 2
Question 3
Constructors
Question 1
Question 2
Question 3
Question 4
Inheritance
Question1
Question2
Question3
Question4
Polymorphism
Question1
Help
Constructors
Design a class Student that has three attributes FirstName, LastName and Age
Class Daigram
Class Student
Attributes
public FirstName
public LastName
public Age
Constructors
public Student( )
public Student(Fname, Lname, Aage)
Methods
public String getFirstName( )
public void setFirstName( )
public String getLastName( )
public void setLastName( )
public int getAge( )
public void setAge( )
public String toString( )
Random Steps
Actions
Proposed Steps
Psedu Code
setFirstName()
Constructor
getLastName()
End Class
setAge()
Start Class
setLastName()
getFirstName()
toString()
getAge()
Attributes
No of Errors:
Select any step from the first List Box and move it to the second List Box and make all its lines into correct steps of sequential order, using the Arrow Keys
.