We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment Q:

Q#1: Suppose there is a java program with 2 packages named FirstPackage and SecondPackage. FirstPackage contains 2 classes named FFirstClass (with package access level) and FSecondClass (with public access level). SecondPackage contains a class named SFirstClass with public access level. Write down the code to declare the objects of classes FFirstClass and FSecondClass within the class SFirstClass if it does not generate compiler error. [5]

Q#2: Consider the following java code segment: [5]

class ABC


public void FirstFun(int a, int b)

{ ….. }

public void SecondFun(int a, int b)

{ ….. }

public void ThirdFun(int a, int b)

{ ….. } }

class XYZ extends class ABC

{ public void FirstFun(int a, int b, int c)

{ ….. }

public void ThirdFun(int a, int b)

{ ….. } }

You have to write about each of the three super-class methods whether they are inherited, overloaded or overridden in the sub-class. Give reasons to support your answer.

Q#3: How to declare alphanumeric atoms in PROLOG; Give two examples of then w.r.t to PROLOG syntax. [5]

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 350


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

Please Discuss here about this assignment.Thanks

Ans 3:

An atom is a group of alphanumeric characters (the underscore character is also considered as an alphanumeric character) starting with a small letter

bhai time khatam hone wala hai...koi sol share kr lo yr...

public void FirstFun(int a, int b)


public void SecondFun(int a, int b)


public void ThirdFun(int a, int b)


very simple question, read java lecture on handouts, you will find it under the sub class topic

Budy it is clear 

plzz if you know the solution of 1st question then plzz post it 


© 2020   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service