Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

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

Views: 21953


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.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) { = name;
this.rollNo = rollNo;
this.marks = marks;

public String getName() {
return name;

public void setName(String 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;



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

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

ye gui wala output kaisy aya hy?

please help me...share solution


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

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