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

saniya gul joined + M.Tariq Malik's group
1 hour ago
saniya gul joined + M.Tariq Malik's group
1 hour ago
saniya gul joined + M.Tariq Malik's group
1 hour ago
saniya gul joined + M.Tariq Malik's group
1 hour ago
saniya gul joined + M.Tariq Malik's group
1 hour ago
Mahim Ch replied to + M.Tariq Malik's discussion VU Students Reserves The Right to Delete Any Profile On the Site
2 hours ago
Hadi updated their profile
4 hours ago
彡JK彡 ❤️ liked +¢αяєℓєѕѕ gιяℓ's discussion عزت وہ ہے جس میں ہمارا قلب مطمئن ہوتا ہے
4 hours ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion 111 Solved MCQs of Financial Management MGT201
4 hours ago
+ !♛Abee Smarty ♛!+ liked moniba hussain's blog post love
4 hours ago
+ !♛Abee Smarty ♛!+ liked moniba hussain's blog post fun
4 hours ago
+ !♛Abee Smarty ♛!+ liked + "αяsαℓ " Ќąƶµяɨ •"'s blog post نظر لگنا کیا ہے اور بُری نظر انسان کے جسم پر کیسے اثر انداز ہوتی ہے
4 hours ago
+ !♛Abee Smarty ♛!+ liked + Iuuoɔǝut+'s blog post Things about Arabic Language in an info graphic
4 hours ago
+ !♛Abee Smarty ♛!+ liked + Iuuoɔǝut+'s blog post The End Is Not Near, But If An 'Insect Apocalypse' Ever Happens, How Would We Know?
4 hours ago
+ !♛Abee Smarty ♛!+ liked + Iuuoɔǝut+'s blog post Dengue fever facts
4 hours ago
+ !♛Abee Smarty ♛!+ liked + "αяsαℓ " Ќąƶµяɨ •"'s blog post چھوٹا کام
4 hours ago
+ !♛Abee Smarty ♛!+ liked ++"S.M.TALHA"++'s blog post کی جاناں میں کون
4 hours ago
+ !♛Abee Smarty ♛!+ liked + ! ! ! ! !Cato's blog post Lets Make .....................Tasbeeh
4 hours ago
+ !♛Abee Smarty ♛!+ liked +++STUDENT+++'s blog post Depression
4 hours ago
+ !♛Abee Smarty ♛!+ liked ϝ ι ყ α's discussion What is Microsoft Excel..............???
4 hours ago

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

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