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

+ ! Ryan replied to + ! ! nO pAnGa's discussion Read this out Loud !!!!!!!!!
6 minutes ago
+ M.Tariq Malik replied to + ! ! nO pAnGa's discussion Read this out Loud !!!!!!!!!
9 minutes ago
+ M.Tariq Malik liked + ! ! nO pAnGa's discussion Read this out Loud !!!!!!!!!
9 minutes ago
+ ! ! nO pAnGa posted a discussion
11 minutes ago
+++LEARNER+++ liked +++STUDENT+++'s blog post Depression
12 minutes ago
console.log updated their profile
21 minutes ago
+++STUDENT+++ liked +++STUDENT+++'s blog post Depression
26 minutes ago
+++STUDENT+++ commented on +++LEARNER+++'s status
29 minutes ago
+ M.Tariq Malik's 3 discussions were featured
35 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion Guidelines and Requirements for Writing a Research Paper
36 minutes ago
+ M.Tariq Malik added 3 discussions to the group CS711 Software Design
37 minutes ago
Profile Iconconsole.log and Sajeela joined Virtual University of Pakistan
40 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion CS711 Software Design All 45 Lecture Power Point Slides. (CS711 PPTs)
44 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion CS711 Software Design Complete Handouts
50 minutes ago
+ M.Tariq Malik left a comment for Farhan (faruu)
1 hour ago
+ ! ! ! ! ! Malik replied to ++!!! Drama Queen's discussion !!!!!!!!!!!!!! KOn hay GALAT.............??????
1 hour ago
+ M.Tariq Malik left a comment for Ali Shah
1 hour ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion PHY101 Current Mid Term Papers Spring 2014 & Past Mid Term Papers at One Place Date: June 07 to June 18, 2014
1 hour ago
+¢αяєℓєѕѕ gιяℓ joined + M.Tariq Malik's group
1 hour ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion O Shit I am Late xD
2 hours ago

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

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