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

lets start the discussion......

+ 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: 1896

.

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

Attachments:

Replies to This Discussion

ek program chlta hy to wo ek process create kerta hy phir us process main kai thread create hty hain jo us program k andar ki chezun ko alag alag control kerty hain....

suppose 

kerin k maine chrome chlaya hua hy us main kafi sary tabs open kiye huye hain .
chrome ek program hy and uska ek process create hua hy
or us main her tabs k liye alag thread create hua hy like this:

isko kahty hain threading and iska yeh kam hta hy jo asgnmnt hy us main apny yeh kerna hy k ek program bnana hy and us se 2 thread creat kerny hain ek thread file1 ko and dusara 2nd file ko handle keryga dono thread one by one dono files main se ek ek line ko read kerin gy means phly 1st wala file ki first line ko phir 2nd wala 2nd file ki 1st line ko.........best of luck

By the way it is not thread its separate process.
Example of thread is ms word is a process and apelling checker is a thread which is running inside process.
U kill process thread automatically killed.
While in case of chrome u need to killl each process separately

please help some one.....
 how can we put three class in a single java file . means. firstThread class, secondThread class and mainThread class? 

as the instructor mentioned to submit a single java file.

public class MainThread { FirstThread first = new FirstThread ("first.txt"); Thread t1 = new Thread (first); SecondThread second = new SecondThread ("second.txt"); Thread t2 = new Thread(second);
public MainThread(){ t1.start(); t2.start(); } public static void main(String args[]){ MainThread m = new MainThread(); }

u can have multiple classes in single java file only remember that one class should be public. for example

public class MainClass{

}

class Student{

}

class Teacher{

}

and mostly we keep the class public which contains public static void main method in it.

and file name should be same as the public class name(case senstive)

i received this error inner classes can't have static declaration ?

anyone tell me about this error??

thanks 

Mustafa noor??

plz code bta day assign k

Dear Fellows,

All of you are requested, Please post Only One Discussion for Current Assignment/GDB/Online Quiz and everyone reply/share/discussed his/her data on that same discussion, so that all members get solution & discuss easily on Current Assignment/GDB/Online Quiz.

So please don’t post two or more discussions for one Current Assignment/GDB/Online Quiz, hope you’ll understand and cooperate with us.

RSS

Latest Activity

+ M.Tariq Malik liked + M.Tariq Malik's discussion Tips & Guidance How to summarized an article
9 seconds ago
+ M.Tariq Malik's 13 discussions were featured
11 seconds ago
+ M.Tariq Malik added 4 discussions to the group MGMT728 Organizational Development
45 seconds ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion APA Style Essentials
1 minute ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion APA Manual 6th Edition Publication Manual of the American Psychological Association, Sixth Edition Editorial Staff
3 minutes ago
kiran and Muhammad abubakar are now friends
4 minutes ago
+ M.Tariq Malik liked + Iuuoɔǝut+'s discussion Farz Karo ....
4 minutes ago
+ Iuuoɔǝut+ posted discussions
7 minutes ago
+ M.Tariq Malik replied to + Iuuoɔǝut+'s discussion Har Shaks Naraz hy meri baton sy
7 minutes ago
+ M.Tariq Malik liked + Iuuoɔǝut+'s discussion Har Shaks Naraz hy meri baton sy
8 minutes ago
+ Adeeena replied to + Adeeena's discussion usay pasand hai
8 minutes ago
+ Adeeena replied to + Adeeena's discussion usay pasand hai
8 minutes ago
Profile IconArham, Muhammad Farhan and Zahid Hussain joined Virtual University of Pakistan
9 minutes ago
+ "AS" liked +¢αяєℓєѕѕ gιяℓ's discussion Jin sey Mohabbat Ho.....
14 minutes ago
+ "AS" liked +¢αяєℓєѕѕ gιяℓ's discussion Urdu Waqt kasay bachatie Hai xD
14 minutes ago
+ "AS" liked Muhammad Umar's discussion Kash K Mari Muhabhat Ku Is Tera Samjh Jahay
14 minutes ago
+ "AS" liked +¢αяєℓєѕѕ gιяℓ's discussion Beshak...
14 minutes ago
+ "AS" liked + Adeeena's discussion usay pasand hai
14 minutes ago
+ "AS" replied to + "AS"'s discussion Jesi Ab hai ..
14 minutes ago
+ "AS" replied to + "AS"'s discussion Suna Hai Ab ..
16 minutes ago

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

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