Rajesh Shekar

Greenhorn
+ Follow
since Feb 25, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rajesh Shekar

Hi Both,
Thanks a lot i understood many things from this

1) Name a class properly.
2) use constructor with parameters (yet to learn this)
3) need to learn static.

Thanks a lot for helping me in this one.
12 years ago
Hi All,
I hope you guys would help me as im really not sure if is the right forum to post this, I have been working on a tool which is created by my company internally which is used for developing an application though it is developed in java im only working on the tool and i dont have any java knowledge and i have only that tool knowledge for past 6+ yrs so now for me to learn java from scratch and find a job is it possible? or is it better idea to quit learning java and do something else. I do have basic programing skill with loop,if else,logic etc. please let me know your valuable suggestions
12 years ago
Also i assume if i move the method outside main i need to create an object for the class "MethodTest" and call the calcArea method is that right?
12 years ago
Hi All,
Im very new to java and i wrote a program as below and i get 4 errors not sure what they mean can someone help me?


MethodTest.java:6: ';' expected
int calcArea(int height,int width)
^
MethodTest.java:6: <identifier> expected
int calcArea(int height,int width)
^
MethodTest.java:6: not a statement
int calcArea(int height,int width)
^
MethodTest.java:6: ';' expected
int calcArea(int height,int width)
^
12 years ago
Hi All,

Thanks a lot to all of the friends here after setting the class path my code worked fine.
12 years ago
Yes i run from command line what does cp means?
12 years ago
Please find the code below
12 years ago
Hi All,
Im new to java and i wrote a new java program which will display hello world. I named the java file as Hello.Java and the file resides in my D drive. When i compiled it it worked fine. But when i try to run it i got an error as below,
Exception in thread "main" java.lang.NoClassDefFoundError: Hello
Can someone help me with this error?
12 years ago