@Norm I don't know to format in command prompt.It's not in our syllabus.We have only BlueJ.When I saw the option in BlueJ it said that it is auto-intended.
Type: Posts; User: avistein
@Norm I don't know to format in command prompt.It's not in our syllabus.We have only BlueJ.When I saw the option in BlueJ it said that it is auto-intended.
Sorry, 4 being rude 2 u.But I really don't know what you really meant by 4matting the code.I really don't know what is indentation and how to do it.I am only a class 10 student,who has a xam in a few...
@Norm,u r very bad.Why don't u see the program? Ur demand is 2 much.I have given the error,and then also u r demanding so.U must quit.U don't know,how to help ppl.
Here is the error16831684
Very sorry to say that I have posted a wrong code.Actually I was trying to modify the code earlier in my pc and and I have posted that code only.Here is the original code:
//constructor program....
I don't know how to format it.I am new here.
@Bhawani, but the question says to create a constructor and not 2.So how to do that?
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;
Plz read the question very carefully.I need call all the member methods from the main method by creating object only.And all the member methods are necessary.The constructor is parametrized.I need...