Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #1971 > unrolled thread

Data Encapsulation Question

Started bysubhabangalore@gmail.com
First post2012-08-10 08:49 -0700
Last post2012-08-12 21:40 -0700
Articles 20 on this page of 25 — 6 participants

Back to article view | Back to comp.lang.java.help


Contents

  Data Encapsulation Question subhabangalore@gmail.com - 2012-08-10 08:49 -0700
    Re: Data Encapsulation Question Joerg Meier <joergmmeier@arcor.de> - 2012-08-10 18:30 +0200
    Re: Data Encapsulation Question Jeff Higgins <jeff@invalid.invalid> - 2012-08-10 12:44 -0400
    Re: Data Encapsulation Question subhabangalore@gmail.com - 2012-08-10 12:13 -0700
      Re: Data Encapsulation Question Lew <lewbloch@gmail.com> - 2012-08-10 12:32 -0700
        Re: Data Encapsulation Question subhabangalore@gmail.com - 2012-08-10 12:58 -0700
          Re: Data Encapsulation Question Lew <lewbloch@gmail.com> - 2012-08-10 15:37 -0700
            Re: Data Encapsulation Question subhabangalore@gmail.com - 2012-08-10 21:59 -0700
      Re: Data Encapsulation Question Roedy Green <see_website@mindprod.com.invalid> - 2012-08-11 12:12 -0700
        Re: Data Encapsulation Question subhabangalore@gmail.com - 2012-08-11 13:29 -0700
          Re: Data Encapsulation Question Joerg Meier <joergmmeier@arcor.de> - 2012-08-11 22:35 +0200
            Re: Data Encapsulation Question subhabangalore@gmail.com - 2012-08-11 13:46 -0700
              Re: Data Encapsulation Question subhabangalore@gmail.com - 2012-08-11 14:13 -0700
                Re: Data Encapsulation Question Jeff Higgins <jeff@invalid.invalid> - 2012-08-11 17:29 -0400
          Re: Data Encapsulation Question subhabangalore@gmail.com - 2012-08-11 13:40 -0700
            Re: Data Encapsulation Question subhabangalore@gmail.com - 2012-08-11 23:09 -0700
              Re: Data Encapsulation Question Jeff Higgins <jeff@invalid.invalid> - 2012-08-13 08:24 -0400
          Re: Data Encapsulation Question Roedy Green <see_website@mindprod.com.invalid> - 2012-08-12 07:50 -0700
            Re: Data Encapsulation Question subhabangalore@gmail.com - 2012-08-12 12:59 -0700
            Re: Data Encapsulation Question subhabangalore@gmail.com - 2012-08-12 12:55 -0700
    Re: Data Encapsulation Question Lew <lewbloch@gmail.com> - 2012-08-10 12:31 -0700
    Re: Data Encapsulation Question Roedy Green <see_website@mindprod.com.invalid> - 2012-08-11 12:08 -0700
    Re: Data Encapsulation Question subhabangalore@gmail.com - 2012-08-12 13:03 -0700
      Re: Data Encapsulation Question Lew <noone@lewscanon.com> - 2012-08-12 13:24 -0700
        Re: Data Encapsulation Question subhabangalore@gmail.com - 2012-08-12 21:40 -0700

Page 1 of 2  [1] 2  Next page →


#1971 — Data Encapsulation Question

Fromsubhabangalore@gmail.com
Date2012-08-10 08:49 -0700
SubjectData Encapsulation Question
Message-ID<b55b1e7a-c8d8-453a-8bdb-5a1745f23204@googlegroups.com>
Dear Group,

I am a new learner of Java language. I was trying to write the following code for Data Encapsulation. I am using Eclipse as IDE.
But how can I compile this code, I am not getting. If any body may help. Please also let me know if the code is fine,too.

*********************************************************************************
                                THE CODE
********************************************************************************
public class Box {

private int size;

// Provide public getters and setters

public int getSize() { return size; }

public void setSize(int newSize) {
size = newSize;
}
} 

public class BoxMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		//create instance of Box

		Box b=new Box();

		//access methods trough box objects

		b.setSize(25);
		System.out.println("Size:"+b.getsize());
		}

		// TODO Auto-generated method stub

	}

Thanks in Advance,
Regards,
Subhabrata. 

[toc] | [next] | [standalone]


#1972

FromJoerg Meier <joergmmeier@arcor.de>
Date2012-08-10 18:30 +0200
Message-ID<3n6b9gk8jpg9.1qro4wqe5gu0l.dlg@40tude.net>
In reply to#1971
On Fri, 10 Aug 2012 08:49:19 -0700 (PDT), subhabangalore@gmail.com wrote:

> I am a new learner of Java language. I was trying to write the following code for Data Encapsulation. I am using Eclipse as IDE.
> But how can I compile this code, I am not getting. If any body may help. Please also let me know if the code is fine,too.

Your code looks fine on first glance. Just put it in apropriately named
files (Box.java and BoxMain.java) and press ctrl+s to save, and that will
automatically compile. To run, go into the BoxMain file, and press alt+x,
then j. Do you have a specific problem ?

Regards,

	Joerg

-- 
Ich lese meine Emails nicht, replies to Email bleiben also leider
ungelesen.

[toc] | [prev] | [next] | [standalone]


#1973

FromJeff Higgins <jeff@invalid.invalid>
Date2012-08-10 12:44 -0400
Message-ID<k03djn$4ts$1@dont-email.me>
In reply to#1971
On 08/10/2012 11:49 AM, subhabangalore@gmail.com wrote:
> Dear Group,
>
> I am a new learner of Java language. I was trying to write the following code for Data Encapsulation. I am using Eclipse as IDE.
> But how can I compile this code, I am not getting. If any body may help. Please also let me know if the code is fine,too.
>
<http://www.vogella.com/articles/Eclipse/article.html#firstjava>

[toc] | [prev] | [next] | [standalone]


#1974

Fromsubhabangalore@gmail.com
Date2012-08-10 12:13 -0700
Message-ID<d5304ca1-327f-4395-bce9-bca0a5c67845@googlegroups.com>
In reply to#1971
On Friday, August 10, 2012 9:19:19 PM UTC+5:30, (unknown) wrote:
> Dear Group,
> 
> 
> 
> I am a new learner of Java language. I was trying to write the following code for Data Encapsulation. I am using Eclipse as IDE.
> 
> But how can I compile this code, I am not getting. If any body may help. Please also let me know if the code is fine,too.
> 
> 
> 
> *********************************************************************************
> 
>                                 THE CODE
> 
> ********************************************************************************
> 
> public class Box {
> 
> 
> 
> private int size;
> 
> 
> 
> // Provide public getters and setters
> 
> 
> 
> public int getSize() { return size; }
> 
> 
> 
> public void setSize(int newSize) {
> 
> size = newSize;
> 
> }
> 
> } 
> 
> 
> 
> public class BoxMain {
> 
> 
> 
> 	/**
> 
> 	 * @param args
> 
> 	 */
> 
> 	public static void main(String[] args) {
> 
> 		//create instance of Box
> 
> 
> 
> 		Box b=new Box();
> 
> 
> 
> 		//access methods trough box objects
> 
> 
> 
> 		b.setSize(25);
> 
> 		System.out.println("Size:"+b.getsize());
> 
> 		}
> 
> 
> 
> 		// TODO Auto-generated method stub
> 
> 
> 
> 	}
> 
> 
> 
> Thanks in Advance,
> 
> Regards,
> 
> Subhabrata.
Hi Joerg,
Thanks it worked. The code is working but only "Size:" of System.out.println("Size:"+b.getsize()); is giving error, if you drop it --it is coming nicely.
Regards,
Subhabrata. 

[toc] | [prev] | [next] | [standalone]


#1976

FromLew <lewbloch@gmail.com>
Date2012-08-10 12:32 -0700
Message-ID<af278a8e-f732-43aa-b2fa-1f2cbfe019e9@googlegroups.com>
In reply to#1974
(unknown) wrote:
> Thanks it worked. The code is working but only "Size:" of System.out.println("Size:"+b.getsize()); is giving error, if you drop it --it is coming nicely.

"It worked" and "It is giving [an] error" are contradictory statements.

What error? 

Why did it happen?

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#1977

Fromsubhabangalore@gmail.com
Date2012-08-10 12:58 -0700
Message-ID<8d2885fe-0f3e-45cd-9cb9-662b0cde6a3c@googlegroups.com>
In reply to#1976
On Saturday, August 11, 2012 1:02:16 AM UTC+5:30, Lew wrote:
> (unknown) wrote:
> 
> > Thanks it worked. The code is working but only "Size:" of System.out.println("Size:"+b.getsize()); is giving error, if you drop it --it is coming nicely.
> 
> 
> 
> "It worked" and "It is giving [an] error" are contradictory statements.
> 
> 
> 
> What error? 
> 
> 
> 
> Why did it happen?
> 
> 
> 
> -- 
> 
> Lew

I said it worked because, the main module worked. That is core code. Anything we are giving within " " string notation(unless it is a string manipulation code) it is sort of comment only. Right? May be some typing mistake I am doing.

Regards,
Subhabrata. 

[toc] | [prev] | [next] | [standalone]


#1978

FromLew <lewbloch@gmail.com>
Date2012-08-10 15:37 -0700
Message-ID<c5130c0b-a0c8-4c18-88e6-f50fdbcff598@googlegroups.com>
In reply to#1977
(unknown) wrote:
> Lew wrote:
>> (unknown) wrote:
>>> Thanks it worked. The code is working but only "Size:" of System.out.println("Size:"+b.getsize()); is giving error, if you drop it --it is coming nicely.
> 
>> "It worked" and "It is giving [an] error" are contradictory statements.
> 
>> What error? 
>
>> Why did it happen?
> 
> I said it worked because, the main module worked. That is core code. Anything we are giving within " " string notation(unless it is a string manipulation code) it is sort of comment only..Right? 

Not right at all. It is a program object and nothing at all even in the slightest like a comment.

> May be some typing mistake I am doing.

You need to answer my questions.

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#1979

Fromsubhabangalore@gmail.com
Date2012-08-10 21:59 -0700
Message-ID<fcfc1cd2-ba2e-4afd-ada1-c4244e5838ce@googlegroups.com>
In reply to#1978
On Saturday, August 11, 2012 4:07:06 AM UTC+5:30, Lew wrote:
> (unknown) wrote:
> 
> > Lew wrote:
> 
> >> (unknown) wrote:
> 
> >>> Thanks it worked. The code is working but only "Size:" of System.out.println("Size:"+b.getsize()); is giving error, if you drop it --it is coming nicely.
> 
> > 
> 
> >> "It worked" and "It is giving [an] error" are contradictory statements.
> 
> > 
> 
> >> What error? 
> 
> >
> 
> >> Why did it happen?
> 
> > 
> 
> > I said it worked because, the main module worked. That is core code. Anything we are giving within " " string notation(unless it is a string manipulation code) it is sort of comment only..Right? 
> 
> 
> 
> Not right at all. It is a program object and nothing at all even in the slightest like a comment.
> 
> 
> 
> > May be some typing mistake I am doing.
> 
> 
> 
> You need to answer my questions.
> 
> 
> 
> -- 
> 
> Lew

Hi,
Thank you for taking time with me. 
What I know is that, if you are not manipulating strings like concatenation, search etc. strings can be of two kinds in a code. One is comment which is not compiled. The other one is, the expressions for the variables. These may go like,
 int num1=100;
 int age=60;
 String name="Lincoln";

etc. 

These may be associated with the expression of variables, 

System.out.println("The Denotation of One Hundred in Numerical is:"+num1);
System.out.println("The Age of Independent India is:"+age);
System.out.println("The Name of Famous US President is:"+name);

etc.

Now these expressions are compiled but not part of code because no variable is assigned thus can not be processed, they die where they are assigned. Generally, comments and variable expressions should be congruent with the code because they are the context of code,
but instead of,
System.out.println("Hello World");
If I write
System.out.println("Hello Earth");
or even 
System.out.println("I am not saying Hello to the World,Would you?");

would not matter much as our job is to see if the code is giving proper output which we are trying to assign, so is the case here, if I say,

System.out.println("Century Means:"+num1);
System.out.println(age);
System.out.println("The Name of the opera house is:"+name);

etc.

It does not matter. 
Other than these there is another kind of variable expression like
System.out.println("The Denotation of num1 in word is One Hundred")

Here the String is compiled because the variable is present. But I am not expert in handling in these kind of strings so prefer to avoid. 

Other than this, if I am going wrong anywhere, please let me know, I would be happy to learn and improve. And also let me know your suggestion over this code.

Regards,
Subhabrata. 





 

[toc] | [prev] | [next] | [standalone]


#1986

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-08-11 12:12 -0700
Message-ID<6jbd28tbfbfrvgl8hm8b6ironhgpggcngo@4ax.com>
In reply to#1974
On Fri, 10 Aug 2012 12:13:00 -0700 (PDT), subhabangalore@gmail.com
wrote, quoted or indirectly quoted someone who said :

>Thanks it worked. The code is working but only "Size:" of System.out.println("Size:"+b.getsize()); is giving error, if you drop it --it is coming nicely.

Just copy and paste the output of the program. The code looks fine.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
A new scientific truth does not triumph by convincing its opponents and making them see the light,
but rather because its opponents eventually die, and a new generation grows up that is familiar with it.
~ Max Planck 1858-04-23 1947-10-04 

[toc] | [prev] | [next] | [standalone]


#1987

Fromsubhabangalore@gmail.com
Date2012-08-11 13:29 -0700
Message-ID<bc385299-a67d-4af1-befb-899b2b48af55@googlegroups.com>
In reply to#1986
On Sunday, August 12, 2012 12:42:14 AM UTC+5:30, Roedy Green wrote:
> On Fri, 10 Aug 2012 12:13:00 -0700 (PDT), subhabangalore@gmail.com
> 
> wrote, quoted or indirectly quoted someone who said :
> 
> 
> 
> >Thanks it worked. The code is working but only "Size:" of System.out.println("Size:"+b.getsize()); is giving error, if you drop it --it is coming nicely.
> 
> 
> 
> Just copy and paste the output of the program. The code looks fine.
> 
> -- 
> 
> Roedy Green Canadian Mind Products http://mindprod.com
> 
> A new scientific truth does not triumph by convincing its opponents and making them see the light,
> 
> but rather because its opponents eventually die, and a new generation grows up that is familiar with it.
> 
> ~ Max Planck 1858-04-23 1947-10-04

Dear Sir,
Thank you for your kind concern. The following error message is coming:
Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
	The method getsize() is undefined for the type Box

	at BoxMain.main(BoxMain.java:16)
Regards,
Subhabrata. 

[toc] | [prev] | [next] | [standalone]


#1988

FromJoerg Meier <joergmmeier@arcor.de>
Date2012-08-11 22:35 +0200
Message-ID<gcl4wu2ovxw1.1ax7ajdmj98jn$.dlg@40tude.net>
In reply to#1987
On Sat, 11 Aug 2012 13:29:30 -0700 (PDT), subhabangalore@gmail.com wrote:

> Thank you for your kind concern. The following error message is coming:
> Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
> 	The method getsize() is undefined for the type Box

> 	at BoxMain.main(BoxMain.java:16)

Just a minor typo on your part (and an oversight on ours - none of us
caught it either) - "getsize" is not the same as "getSize" (notice the
capital S). 

Liebe Gruesse,
		Joerg

-- 
Ich lese meine Emails nicht, replies to Email bleiben also leider
ungelesen.

[toc] | [prev] | [next] | [standalone]


#1989

Fromsubhabangalore@gmail.com
Date2012-08-11 13:46 -0700
Message-ID<5f6040cc-561e-4da8-a7b6-2dd5718bf3c0@googlegroups.com>
In reply to#1988
On Sunday, August 12, 2012 2:05:55 AM UTC+5:30, Joerg Meier wrote:
> On Sat, 11 Aug 2012 13:29:30 -0700 (PDT), subhabangalore@gmail.com wrote:
> 
> 
> 
> > Thank you for your kind concern. The following error message is coming:
> 
> > Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
> 
> > 	The method getsize() is undefined for the type Box
> 
> 
> 
> > 	at BoxMain.main(BoxMain.java:16)
> 
> 
> 
> Just a minor typo on your part (and an oversight on ours - none of us
> 
> caught it either) - "getsize" is not the same as "getSize" (notice the
> 
> capital S). 
> 
> 
> 
> Liebe Gruesse,
> 
> 		Joerg
> 
> 
> 
> -- 
> 
> Ich lese meine Emails nicht, replies to Email bleiben also leider
> 
> ungelesen.

Yes Sir. I discovered and fixed. I just posted my acknowledgement to all for this kind discussion. Regards,Subhabrata. 

[toc] | [prev] | [next] | [standalone]


#1990

Fromsubhabangalore@gmail.com
Date2012-08-11 14:13 -0700
Message-ID<fc96cd27-2810-4afc-b09e-657f9d676494@googlegroups.com>
In reply to#1989
Dear Group,
No. The Code had a very silly mistake. If you see, I am writing System.out.println("Size:"+b.getsize());  while I am calling, but while declaring I am writing it as,
public void setSize(int newSize) {
        size = newSize;
        }
The 'S' of "setSize" is capital here.
I changed and worked fine. When all of you were saying the syntax and structure is fine, I tried to zoom into the code. Thank you all for your kind time.
By the way, Lew was trying to suggest me something regarding command line, Ant, etc. I am bit curious to know them. If you can help.

Regards,
Subhabrata.

[toc] | [prev] | [next] | [standalone]


#1991

FromJeff Higgins <jeff@invalid.invalid>
Date2012-08-11 17:29 -0400
Message-ID<k06ilb$csb$1@dont-email.me>
In reply to#1990
On 08/11/2012 05:13 PM, subhabangalore@gmail.com wrote:
> Dear Group,
> No. The Code had a very silly mistake. If you see, I am writing System.out.println("Size:"+b.getsize());  while I am calling, but while declaring I am writing it as,
> public void setSize(int newSize) {
>          size = newSize;
>          }
> The 'S' of "setSize" is capital here.
> I changed and worked fine. When all of you were saying the syntax and structure is fine, I tried to zoom into the code. Thank you all for your kind time.
> By the way, Lew was trying to suggest me something regarding command line, Ant, etc. I am bit curious to know them. If you can help.
>
For the beginner Java programmer. If you can learn to navigate
all of the Java documentation from the link given below you
will be so far ahead of the competition that they will never see you.
<http://docs.oracle.com/javase/7/docs/>

[toc] | [prev] | [next] | [standalone]


#1992

Fromsubhabangalore@gmail.com
Date2012-08-11 13:40 -0700
Message-ID<0659ec43-ed89-4e5e-bb3e-e7b4347ed319@googlegroups.com>
In reply to#1987
On Sunday, August 12, 2012 1:59:30 AM UTC+5:30, (unknown) wrote:
> On Sunday, August 12, 2012 12:42:14 AM UTC+5:30, Roedy Green wrote:
> 
> > On Fri, 10 Aug 2012 12:13:00 -0700 (PDT), subhabangalore@gmail.com
> 
> > 
> 
> > wrote, quoted or indirectly quoted someone who said :
> 
> > 
> 
> > 
> 
> > 
> 
> > >Thanks it worked. The code is working but only "Size:" of System.out.println("Size:"+b.getsize()); is giving error, if you drop it --it is coming nicely.
> 
> > 
> 
> > 
> 
> > 
> 
> > Just copy and paste the output of the program. The code looks fine.
> 
> > 
> 
> > -- 
> 
> > 
> 
> > Roedy Green Canadian Mind Products http://mindprod.com
> 
> > 
> 
> > A new scientific truth does not triumph by convincing its opponents and making them see the light,
> 
> > 
> 
> > but rather because its opponents eventually die, and a new generation grows up that is familiar with it.
> 
> > 
> 
> > ~ Max Planck 1858-04-23 1947-10-04
> 
> 
> 
> Dear Sir,
> 
> Thank you for your kind concern. The following error message is coming:
> 
> Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
> 
> 	The method getsize() is undefined for the type Box
> 
> 
> 
> 	at BoxMain.main(BoxMain.java:16)
> 
> Regards,
> 
> Subhabrata.

Dear Group,
No. The Code had a very silly mistake. If you see, I am writing System.out.println("Size:"+b.getsize());  while I am calling, but while declaring I am writing it as,
public void setSize(int newSize) { 
	size = newSize; 
	} 
The 'S' of "setSize" is capital here. 
I changed and worked fine. When all of you were saying the syntax and structure is fine, I tried to zoom into the code. Thank you all for your kind time.
By the way, Lew was trying to suggest me something regarding command line, Ant, etc. I am bit curious to know them. If you can help.

Regards,
Subhabrata. 
 

[toc] | [prev] | [next] | [standalone]


#1993

Fromsubhabangalore@gmail.com
Date2012-08-11 23:09 -0700
Message-ID<88f0b2aa-7cfc-4d91-89e3-ebb731178182@googlegroups.com>
In reply to#1992
On Sunday, August 12, 2012 2:10:45 AM UTC+5:30, (unknown) wrote:
> On Sunday, August 12, 2012 1:59:30 AM UTC+5:30, (unknown) wrote:
> 
> > On Sunday, August 12, 2012 12:42:14 AM UTC+5:30, Roedy Green wrote:
> 
> > 
> 
> > > On Fri, 10 Aug 2012 12:13:00 -0700 (PDT), subhabangalore@gmail.com
> 
> > 
> 
> > > 
> 
> > 
> 
> > > wrote, quoted or indirectly quoted someone who said :
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > >Thanks it worked. The code is working but only "Size:" of System.out.println("Size:"+b.getsize()); is giving error, if you drop it --it is coming nicely.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > Just copy and paste the output of the program. The code looks fine.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > -- 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > Roedy Green Canadian Mind Products http://mindprod.com
> 
> > 
> 
> > > 
> 
> > 
> 
> > > A new scientific truth does not triumph by convincing its opponents and making them see the light,
> 
> > 
> 
> > > 
> 
> > 
> 
> > > but rather because its opponents eventually die, and a new generation grows up that is familiar with it.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > ~ Max Planck 1858-04-23 1947-10-04
> 
> > 
> 
> > 
> 
> > 
> 
> > Dear Sir,
> 
> > 
> 
> > Thank you for your kind concern. The following error message is coming:
> 
> > 
> 
> > Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
> 
> > 
> 
> > 	The method getsize() is undefined for the type Box
> 
> > 
> 
> > 
> 
> > 
> 
> > 	at BoxMain.main(BoxMain.java:16)
> 
> > 
> 
> > Regards,
> 
> > 
> 
> > Subhabrata.
> 
> 
> 
> Dear Group,
> 
> No. The Code had a very silly mistake. If you see, I am writing System.out.println("Size:"+b.getsize());  while I am calling, but while declaring I am writing it as,
> 
> public void setSize(int newSize) { 
> 
> 	size = newSize; 
> 
> 	} 
> 
> The 'S' of "setSize" is capital here. 
> 
> I changed and worked fine. When all of you were saying the syntax and structure is fine, I tried to zoom into the code. Thank you all for your kind time.
> 
> By the way, Lew was trying to suggest me something regarding command line, Ant, etc. I am bit curious to know them. If you can help.
> 
> 
> 
> Regards,
> 
> Subhabrata.

Dear Sir,

Thank you for your suggestion. But some how I feel docs.oracle is not very nicely written. I generally use my sense of C and Python compare check good web tutorials code and learn. I am very new to this language and pretty inquisitive. My works are generally Natural Language Processing,Statistical Modeling,Machine Learning and Software Engineering if you can kindly also suggest which libraries also I have to learn for them. 

Regards,
Subhabrata.  

[toc] | [prev] | [next] | [standalone]


#2002

FromJeff Higgins <jeff@invalid.invalid>
Date2012-08-13 08:24 -0400
Message-ID<k0are6$i6m$1@dont-email.me>
In reply to#1993
On 08/12/2012 02:09 AM, subhabangalore@gmail.com wrote:

> Dear Sir,
>
> Thank you for your suggestion. But some how I feel docs.oracle is not very nicely written.
It seems that you are not the only one who thinks
that docs.oracle is not very nicely written.

<http://www.zdnet.com/blog/btl/decisions-about-java-use-debated-in-oracle-google-trial/75336>



[toc] | [prev] | [next] | [standalone]


#1994

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-08-12 07:50 -0700
Message-ID<2igf28hqmcfnf0ba1nr66ei15elrksojs3@4ax.com>
In reply to#1987
On Sat, 11 Aug 2012 13:29:30 -0700 (PDT), subhabangalore@gmail.com
wrote, quoted or indirectly quoted someone who said :

>Dear Sir,
>Thank you for your kind concern. The following error message is coming:
>Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
>	The method getsize() is undefined for the type Box

 hint: getSize is not the same method as getsize.

getSize is the proper name.


>Exception in thread "main" java.lang.Error: 
This suggests a clean compile will make the error obvious. Delete the
*.class files and recompile.

-- 
Roedy Green Canadian Mind Products http://mindprod.com
A new scientific truth does not triumph by convincing its opponents and making them see the light,
but rather because its opponents eventually die, and a new generation grows up that is familiar with it.
~ Max Planck 1858-04-23 1947-10-04 

[toc] | [prev] | [next] | [standalone]


#1995

Fromsubhabangalore@gmail.com
Date2012-08-12 12:59 -0700
Message-ID<95813534-ddb8-42c4-91d4-6ab740247880@googlegroups.com>
In reply to#1994
Dear Sir,
There may be a miscommunication. We solved it last night only.
Regards,
Subhabrata. 

[toc] | [prev] | [next] | [standalone]


#1996

Fromsubhabangalore@gmail.com
Date2012-08-12 12:55 -0700
Message-ID<76104413-c38a-4fc2-89f6-f2e311148d80@googlegroups.com>
In reply to#1994
On Sunday, August 12, 2012 8:20:15 PM UTC+5:30, Roedy Green wrote:
> On Sat, 11 Aug 2012 13:29:30 -0700 (PDT), subhabangalore@gmail.com
> 
> wrote, quoted or indirectly quoted someone who said :
> 
> 
> 
> >Dear Sir,
> 
> >Thank you for your kind concern. The following error message is coming:
> 
> >Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
> 
> >	The method getsize() is undefined for the type Box
> 
> 
> 
>  hint: getSize is not the same method as getsize.
> 
> 
> 
> getSize is the proper name.
> 
> 
> 
> 
> 
> >Exception in thread "main" java.lang.Error: 
> 
> This suggests a clean compile will make the error obvious. Delete the
> 
> *.class files and recompile.
> 
> 
> 
> -- 
> 
> Roedy Green Canadian Mind Products http://mindprod.com
> 
> A new scientific truth does not triumph by convincing its opponents and making them see the light,
> 
> but rather because its opponents eventually die, and a new generation grows up that is familiar with it.
> 
> ~ Max Planck 1858-04-23 1947-10-04

Dear Sir,
There may be a miscommunication. We solved it last night only.
Regards,
Subhabrata. 

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.lang.java.help


csiph-web