import java.io.*;
class student
{
String name;
int age,m1,m2,m3,maxi;
float avg;
student(String n,int a,int m4,int m5,int m6)
{
age=a;
m1=m4;
Type: Posts; User: avistein
import java.io.*;
class student
{
String name;
int age,m1,m2,m3,maxi;
float avg;
student(String n,int a,int m4,int m5,int m6)
{
age=a;
m1=m4;
See here is the question.I have to create the object and call the methods.It is required to call the object by creating object only.
Define a class student described as below:-
Data...
Yes I know.but I don't want to create.
For example,
class cons
{
int d;
cons(int a)
{
d=a;
}
void accept(String args[])throws IOException