We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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

Please discuss assignment 4 here, also share link if you found it helpful in making assignment.

 

Topics Covered: PROLOG AND JAVA PROGRAMMING LANGUAGES.


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


Views: 2100

Attachments:

Replies to This Discussion

class example {


public static void main(String[] args)
{

example egs=new example();
}

public example()
{
dataArray = new String[9];
resultArray= new String[5];
fillDataInDataArray();

}
public void fillDataInDataArray()
{
dataArray[0]="It’s raining in Islamabad.";
dataArray[1]="It’s raining in Sturt.";
dataArray[2]="It’s raining in Newell.";
dataArray[3]="It’s raining in Mansehra.";
dataArray[4]="It’s raining in Peshawar.";
dataArray[5]="It’s cold in Strut.";
dataArray[6]="It’s cold in Newell.";
dataArray[7]="It’s cold in Mansehra.";
dataArray[8]="It’s cold in Quetta. ";

System.arraycopy(dataArray, 4, resultArray, 0, 5);
System.out.println(resultArray[0]);
System.out.println(resultArray[1]);
System.out.println(resultArray[2]);
System.out.println(resultArray[3]);
System.out.println(resultArray[4]);

}




public String[] dataArray;
public String[] resultArray;
}

lo ji ye 100% chaly ga dekho komal and maria asma i only done for u 

yar diamond....ab ye jo  code dia hay ye paste krney se to errors ki line aa gayiiiiiiiiiii :((   pehley just ek hi error ata tha...what u doinggg :/

jaldi bata do sahi yar

correct code post kr do plzzzzzzzzzzzzzz

asma 2nd wala kis tarah likhna hay still nahi smjh a araha kia kai include krna..kindly zra bata do.... oper jo bataya hau hay ksii ne us main facts to nahi hain..   question main likha hay facts b add krny hain.. or ye baatao k pehley Y main sb cities daal dun ? then Z or X main sb daal dun bari bari???

aisey krna?

komal jo evaluation di he wo hi facts hian ok or Y Z  sab me cities dalo gi ap

YAR PLEASE KOI COMPLETE SOLUTION DEDE JUST AYIK GHANTA BAKI HAY PLEASEEEEEEEEEEEEEEEEEE

Khaksar ye sahe chalta he ap sy kun nahi chal raha last sy ye site ky link to remove karty ho na ap ?

@Diamon90:

Sorry bhai, my mistake. last 2 lines of code main nay copy nahi ki thin.

 

ab 100% sahi chalti hay.

 

JazakAllah

komal asma and maria any other agar ap ka ho gea to plz comments kar dena taky mujhy pta lag jye ky ap logon ka hua ky bhi ya nahi ok 

Thanku Diamond90, :) :)

Attachments:

will u please share solution of A and B part complete?

RSS

Looking For Something? Search Below

Latest Activity

+ ! ! hคຖiค khคຖ ! ! ! + liked + M.Tariq Malik's discussion Free Download Solved MCQs of Pakistan Affairs - Everyday Science - Current Affairs For MCQs for CSS, NTS, FTS, ETEA, OTS, UTS, FPSC, PPSC, SPSC, PMS, PSC, KPKPSC, AJKPSC, SOPE Exam
22 minutes ago
+ ! ! hคຖiค khคຖ ! ! ! + liked + ! ! hคຖiค khคຖ ! ! ! +'s discussion 'Ghar Se Hum Ghar Talak Gaye Honge, Apne Hee Aap Tak Gaye Honge',
26 minutes ago
+ ! ! hคຖiค khคຖ ! ! ! + posted a discussion
27 minutes ago
VU AHMED replied to + M.Tariq Malik's discussion PHY301 Fall 2017 Final Term Papers Pattern & Questions 17 Feb 2018 to 28 Feb 2018 & Helping Material in the group PHY301 Circuit Theory
30 minutes ago
+ ! ! hคຖiค khคຖ ! ! ! + updated their profile
33 minutes ago
+ M.Tariq Malik liked + + + + " Tw!nkle "'s discussion Happy HAppy birthday !! FIYA
2 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion EDU410 Teaching of Literacy Skills Assignment 01 Fall 2020 Solution / Discussion in the group EDU410 Teaching of Literacy Skills
2 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion EDU410 Teaching of Literacy Skills Assignment 01 Fall 2020 Solution / Discussion in the group EDU410 Teaching of Literacy Skills
2 hours ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion EDU410 Teaching of Literacy Skills Assignment 01 Fall 2020 Solution / Discussion
2 hours ago
+ M.Tariq Malik added a discussion to the group EDU410 Teaching of Literacy Skills
2 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion BIF401 Bioinformatics I GDB Fall 2020 Solution / Discussion in the group BIF401 Bioinformatics I
2 hours ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion BIF401 Bioinformatics I GDB Fall 2020 Solution / Discussion
2 hours ago

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

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

.