sparsh khandelwal

Ranch Hand
+ Follow
since Dec 20, 2010
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
14
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sparsh khandelwal

Hi All,

Although i successfully set the path of maven 3.0.3.
but facing the issue given below while executing the command "mvn archetype:generate".



Please help.

Thanks
6 years ago
Hello All,

While trying to open eclipse facing a problem.
it happens after i update my java version to 1.8.

Please help.

Thanks

Thanks for your reply.
It means if it already installed as a part of Xampp , so it is not possible to install the GUI version of MySql on system.

Correct me if i am wrong.
6 years ago
PHP
Hi All,
i Installed the XAMPP successfully and being able to run PHP also. But while click on start button for Apache and MySql. Question arises in my mind that it should be somewhere in my system itself so i tried to find in All programs(using windows 7) but it is not there.i tried more and find out phpMyAdmin through which we can make table. But still question arise that where is MySql get installed.


apart from that i am plaaning to install MySql for GUI purpose. will it lead to conflict of using same port (3306) or both are same ???

Thanks in advance.
6 years ago
PHP
Hey Bear,
Thanks for the reply.

to be more specific "How a particular class come into existence" when the width of browser changes.

Thanks


i saw this code in one of the tutorial of bootstrap.
In which presenter change the size of browser and content of html get change.Reflecting the same on my system but not able to understand what exactly is going on.
thanks for reply
i am just a learner.
trying to learn from site roseindia.
here is the link of program.
program
6 years ago

what is the use of hashTable.put(this,this); in above program
please help
6 years ago

Jesper de Jong wrote:This looks like it's becoming more and more of a mess...

What is it exactly that you would like to learn, and why are you writing such a complicated and hard to understand program?

The args parameter of the public static void main(String[] args) method are the command-line arguments. It contains an array of the words that you type on the command line, when you run your program, after the class name. Start with something simple, for example this little program, which just prints out the contents of args:

Compile it, and then run it with some arguments:

java Example Hello World


thanks , but i just make this program as a results of number of experiment while learning the concept of static and inner class.
7 years ago

Henry Wong wrote:

sparsh khandelwal wrote:
thanks everyone , this is what i want to do ;
but don't want to add the condition , if someone can modify it please help




To point out the obvious... So, don't add the condition. Why the heck did you add the condition (and the counter) in the first place?

Henry


if i am not using the condition the loop becomes infinite
7 years ago

thanks everyone , this is what i want to do ;
but don't want to add the condition , if someone can modify it please help
7 years ago

please give me reason why this code not print anything ? i thought that it should call the main method when i use t1.t1();
7 years ago
how to print "sparsh" in this program2
program1 is working good but print the object name of args
program2 compile successfully , but fails at runtime

please help
7 years ago
oopps , its a static function and not a static block thanks
7 years ago

Henry Wong wrote:

sparsh khandelwal wrote:
this code in the program is the first static block , then it should be execute first then main method <!-- correct me if i am wrong >
if it execute first , then what will be the parameter for phoneNumber1,phoneNumber2 ??
please help




Do you know the difference between a static initializer and a static method?

Henry


i am learning , as static method is one which can be called without making object of the the class .
static initializer ( variable ) is one which have same value throughout the class means you change it at one place and it will be change everywhere in program
7 years ago