Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the difference between Java Command Line and C
command Line?

Answers were Sorted based on User's Feedback



what is the difference between Java Command Line and C command Line?..

Answer / sunitha

In C and C++ when you invoke a program, the system passes
two parameters to it:
argc--the number of arguments on the command line
argv--a pointer to an array of strings that contain the
arguments
When you invoke a Java application, the system only passes
one parameter to it:
args--an array of Strings (just an array--not a pointer to
an array) that contain the arguments

Is This Answer Correct ?    26 Yes 4 No

what is the difference between Java Command Line and C command Line?..

Answer / ankit goyal

In C and C++ when you invoke a program, the system passes
two parameters to it:
argc--the number of arguments on the command line
argv--a pointer to an array of strings that contain the
arguments
When you invoke a Java application, the system does not pass any argument to it.
if passes the arguments in an array of Strings if and only if the arguments are given by the user.
otherwise system does not pas any argument.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

Hi buddy, well i got that there is always a default constructor with abstract class. OK. But why not with interface? Thanks in advance.

2 Answers  


What methods are used to get and set the text label displayed by a button object?

0 Answers  


What is default switch case? Give example.

0 Answers  


What are the advantages of unicode?

0 Answers  


What are the 4 types of characters?

0 Answers  


What is the difference between ArrayList and Vector? which one is better in Java

0 Answers   SkillGun Technologies,


Explain the public class modifier?

0 Answers  


Are the equals() and hashCode() protected methods of object class?

1 Answers   Avaya,


Explain the difference between map and flatmap stream operation?

0 Answers  


what modifiers are used with top-level class?

2 Answers  


What is java and its types?

0 Answers  


Can we have multiple public classes in a java source file?

0 Answers  


Categories