We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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

CS506 - Web Design and Development Assignment no 02 Solution And Discussion due date Dec 11, 2015


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


Views: 21769

Attachments:

Replies to This Discussion

gui opn hojta h bt empty ara h plzz help :(

ap ne text file ka path galt dia ho ga ya name galt hai jiss waja se aesa ho raha hai 

I think you did add something into your frame.

c mei save e nai hoti security errors

error aa raha hai file compile kartay hoay?

run hota hy us k bad next khuch open nai ho raha

please share the solution here 

import java.awt.GridLayout;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JFrame;
import javax.swing.JLabel;
class Student {

private String name;
private int rollNo;
private int marks;

public Student() {
name = null;
rollNo = 0;
marks = 0;
}

public Student(String name, int rollNo, int marks) {
this.name = name;
this.rollNo = rollNo;
this.marks = marks;
}

public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

public int getRollNo() {
return rollNo;
}

public void setRollNo(int rollNo) {
this.rollNo = rollNo;
}

public int getMarks() {
return marks;
}

public void setMarks(int marks) {
this.marks = marks;
}


}

javac Student.java

public class Test{
public static void main(String args[]){
try{
FileReader fr = null;
BufferedReader br = null;
fr = new FileReader("input.txt");
br = new BufferedReader(fr);
String line = br.readLine();
while(line != null){
System.out.println(line);
line = br.readLine();
}
fr.close();
}
catch(IOException e){
System.out.println("Mustafa");
}
}
}

Assignment Done.........!!!!

ye gui wala output kaisy aya hy?

please help me...share solution

RSS

Looking For Something? Search Below

Latest Activity

Mani Siddiqui Ex liked ★彡[ꜱʜʏɴᴀ]彡★'s discussion abhī to jaag ke rāteñ guzārnā hoñgī....
9 minutes ago
Mani Siddiqui Ex liked Ateeqa's discussion Baaton Baton Mein Bicharnay Ka Ishara Ker K
9 minutes ago
Ateeqa posted a discussion
2 hours ago
Fahad Shahid posted a discussion
2 hours ago
Fahad Shahid posted a status
"and can work on google sheets Anyone who wants to learn Accounting can Apply 03234613093"
2 hours ago
Fahad Shahid posted a status
"Online Work From Home Daily 2-3 Hours work Salary 3000/month Work: Accounts Management Best for Commerce Students Should know Accounts"
2 hours ago
Rabia liked Ammara Sabir's profile
3 hours ago
Rabia and muhammad saim are now friends
3 hours ago
Pɾιɳƈҽ PK commented on Ammara Sabir's status
7 hours ago
Pɾιɳƈҽ PK commented on Ammara Sabir's status
8 hours ago
Pɾιɳƈҽ PK commented on Ammara Sabir's status
8 hours ago
Pɾιɳƈҽ PK commented on Ammara Sabir's status
8 hours ago

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

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

.