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

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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

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]

+ Click Here To Join also Our facebook study Group.

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

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


See Your Saved Posts Timeline

Views: 331

.

+ 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?)

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)

overloaded 

public void SecondFun(int a, int b)

inherited 

public void ThirdFun(int a, int b)

overridden 

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 

RSS

Today Top Members 

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

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