Search:

Type: Posts; User: avistein

Search: Search took 0.18 seconds.

  1. Replies
    17
    Views
    453

    Re: how to do this simple java program?

    @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.
  2. Replies
    17
    Views
    453

    Re: how to do this simple java program?

    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...
  3. Replies
    17
    Views
    453

    Re: how to do this simple java program?

    @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.
  4. Replies
    17
    Views
    453

    Re: how to do this simple java program?

    Here is the error16831684
  5. Replies
    17
    Views
    453

    Re: how to do this simple java program?

    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....
  6. Re: What is the difference between instant variable and instance variable?

    So I think it is wrong in the book.
  7. Replies
    17
    Views
    453

    Re: how to do this simple java program?

    I don't know how to format it.I am new here.
  8. Re: What is the difference between instant variable and instance variable?

    I have seen it in our book.
  9. Re: How to create a parametrized constructor ,with parameters accepting from a accept() function?

    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;
  10. Replies
    17
    Views
    453

    Re: how to do this simple java program?

    @Bhawani, but the question says to create a constructor and not 2.So how to do that?
  11. Re: What is the difference between instant variable and instance variable?

    What is the difference between instant variable and instance variable?
  12. What is the difference between instant variable and instance variable?

    Plz help
  13. Re: How to create a parametrized constructor ,with parameters accepting from a accept() function?

    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...
  14. Re: How to create a parametrized constructor ,with parameters accepting from a accept() function?

    Yes I know.but I don't want to create.
  15. How to create a parametrized constructor ,with parameters accepting from a accept() function?

    For example,

    class cons
    {
    int d;
    cons(int a)
    {
    d=a;
    }
    void accept(String args[])throws IOException
  16. Replies
    17
    Views
    453

    Re: how to do this simple java program?

    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;
  17. Replies
    17
    Views
    453

    how to do this simple java program?

    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...
Results 1 to 17 of 17