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 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: 1902

.

+ 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

Profile Icon༺łℳℜ₳₦༻ immy, MUHAMMAD USMAN and Amina Azeem joined + M.Tariq Malik's group
4 hours ago
+ ! ! ! ! Mehαr Mαh꧂ replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion The World's most expensive Proposal
5 hours ago
+ ! ! ! ! Mehαr Mαh꧂ liked + "αяsαℓ " Ќąƶµяɨ •"'s discussion The World's most expensive Proposal
5 hours ago
+ ! ! ! ! Mehαr Mαh꧂ liked +***piya o ry piya***+'s discussion eng301 solution chahiyaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
5 hours ago
Mahay Jawad replied to Mian Ali's discussion MCM520 assignment 1 solution Fall 2019 in the group MCM520 Contemporary Mass Media
5 hours ago
Profile IconMahay Jawad and kaaydeen 786 joined + M.Tariq Malik's group
5 hours ago
Ali Khan joined + M.Tariq Malik's group
7 hours ago
Prince Allen replied to ayesha's discussion CS607 Assignment No.1 Solution & Discussion Due Date: 15-11-2019 in the group CS607 Artificial Intelligence
7 hours ago
Prince Allen joined + M.Tariq Malik's group
7 hours ago
Rehana Awan BSSE(7th semester) replied to +¢αяєℓєѕѕ gιяℓ's discussion CS506 - Web Design and Development Assignment No.1 Due Date Nov 15, 2019 in the group CS506 Web Design and Development
7 hours ago
Rehana Awan BSSE(7th semester) replied to + M.Tariq Malik's discussion CS311 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 15-11-2019 in the group CS311 Introduction to Web Services Development
7 hours ago
Rehana Awan BSSE(7th semester) joined + M.Tariq Malik's group
7 hours ago
Rehana Awan BSSE(7th semester) replied to + M.Tariq Malik's discussion CS605 Software Engineering-II Assignment No 01 Fall 2019 Solution & Discussion in the group CS605 Software Engineering-II
7 hours ago
kaaydeen 786 replied to Mian Ali's discussion MCM520 assignment 1 solution Fall 2019 in the group MCM520 Contemporary Mass Media
8 hours ago
ALEEM QAMAR replied to + M.Tariq Malik's discussion MTH302 Business Mathematics & Statistics Assignment No 01 Fall 2019 Solution & Discussion in the group MTH302 Business Mathematics & Statistics
8 hours ago
ALEEM QAMAR joined + M.Tariq Malik's group
8 hours ago
Muhammad Azeem joined + M.Tariq Malik's group
8 hours ago
Hannah chaudhary updated their profile
8 hours ago
Ikra butt posted a status
"https://youtu.be/ItfTdt9kJik mgt211 gdb solution 2019 correct solution"
8 hours ago

Today Top Members 

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

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