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


+ Link For Assignments, GDBs & Online Quizzes Solution


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

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

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


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


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....


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


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.


Latest Activity

isha rose commented on zohaib iftikhar's blog post No Title
7 minutes ago
HAMNA AWAN joined +M.Tariq Malik's group
53 minutes ago
Syed Saadat Ali Shah joined +M.Tariq Malik's group
1 hour ago
HAMNA AWAN liked +M.Tariq Malik's group PAK302 Pakistan Studies
1 hour ago
Maria posted a discussion
1 hour ago
Maria posted a status
"MTH202 Quiz 1 Complete Solution with Detail"
1 hour ago
Alisha Noor liked ++++ Rubab ! ! ! !'s blog post Sunoo Naraz Mat Hona!!
1 hour ago
Mani Siddiqui BS VIII posted a status
"اگر سالن میں نمک زیادہ ہو جائے تو اسے کام کیسے کریں"
2 hours ago
Mani Siddiqui BS VIII posted a status
"ہم آج بھی اپنے ہُنر میں دم رکھتے ہیں اُڑ جاتے ہیں رنگ لوگوں کے جب ہم محفل میں قدم رکھتے ہیں"
2 hours ago
naila mukhtar joined +M.Tariq Malik's group
2 hours ago
Muhammad RaZa posted a status
"mcm past paper for mid plz share maaoz file"
2 hours ago
Maria joined +M.Tariq Malik's group
2 hours ago

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

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