Affiliate Programs
 
Search affiliate programs for: 
Affiliate Categories
» Affiliate Networks
» Ad Networks
» 2 Tier Programs
» Pay Per Sale
» Pay Per Lead
» Residual Income
» Datafeeds
» Multi Tier Programs
» Business Opps
» Other Programs

Newsletter
Get newly added affiliate programs by email. Enter your email here:
Article Categories
» Affiliate Marketing
» Business
» Ecommerce
» Hosting
» Marketing
» Sales
» Web Designing
» Webmasters
» SEO & Promotion
» Working At Home
» Other Articles
» Affiliate Glossary


Go Back   AffiliateSeeking Forum > Website Creation, Design & Maintenance > Programming > ASP

ASP Discuss about ASP scripting problems or help others with their ASP scripting issues.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2010, 11:08 AM
ursimrankhanna ursimrankhanna is offline
Senior Member
 
Join Date: Jul 2010
Location: delhi ( india )
Posts: 633
ursimrankhanna is on a distinguished road
Default why is java better than c?

plz reply the my question.............
Thank you.........
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 11-10-2010, 08:52 AM
jurwanwall jurwanwall is offline
Member
 
Join Date: Nov 2010
Posts: 85
jurwanwall is on a distinguished road
Java is not necessarily better than C++.

On the plus side...

* Java provides automatic object deletion, using reference counted smart pointers and automatic garbage collection, which reduces or eliminates the hassles of dealing with memory address space fragmentation.
* Java makes it harder to dereference invalid addresses or go out of bounds on an array.
* Java is object code portable, so long as the target system has a compatible JVM.


On the minus side...

* Since Java is interpreted, it tends to run slower than C.
* There can be unexpected delays when the garbage collector runs.
* You do not have control of when the object destructor runs, so some things such as JDBC might not close database connections when you expect.


On the "you decide" side...

* The class libraries for Java and C are dramatically different so, even though the two languages are nearly identical, the two environments do not map well, so knowledge of one does not make one a master of the other.
__________________
Designer Sunglass Reviews
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 12-06-2010, 07:44 AM
deveshraigniit deveshraigniit is offline
Member
 
Join Date: Nov 2010
Location: Delhi
Posts: 97
deveshraigniit is on a distinguished road
HI,
java is better than c and c++ but same as C sharp(C#)
Javva is objected oriented language and c is not a object oriented language.but c++ and C# is object oriented language.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 04-01-2011, 11:26 AM
Pooja thakur Pooja thakur is offline
Junior Member
 
Join Date: Apr 2011
Posts: 8
Pooja thakur is on a distinguished road
frnd
java provides bytecode after compilation and we can run this bytecode in other enviroment.means there only need one time compilation.

on other side C requires every time compilation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 04-26-2011, 01:10 PM
jenny3103 jenny3103 is offline
Member
 
Join Date: Apr 2011
Posts: 39
jenny3103 is on a distinguished road
Because Java is Object Oriented Programming language. so coding is devided in object or class and its easy to understand. and Java is also plateform independent language.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 05-12-2011, 07:07 AM
tenantfile tenantfile is offline
Junior Member
 
Join Date: Apr 2011
Posts: 7
tenantfile is on a distinguished road
basically java is designed in c.but its much batter than c.because java supports all the features of object orient.it always deal with objects so we can easily make changes.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 05-29-2011, 04:49 AM
seosignature seosignature is offline
Senior Member
 
Join Date: Apr 2011
Posts: 401
seosignature is on a distinguished road
Some projects are done in c and some in java, depending on project requirements we choose c, java or any other language.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 06-17-2011, 02:01 PM
tylerlongtw tylerlongtw is offline
Senior Member
 
Join Date: May 2011
Posts: 391
tylerlongtw is on a distinguished road
the main difference between C and Java is that Java is Object Oriented Language and C is not. Java has an integrated IDE called Net-beans for development purposes.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 06-17-2011, 03:36 PM
Asherr's Avatar
Asherr Asherr is offline
Senior Member
 
Join Date: Dec 2010
Location: 1 King Street, 1 King Street,Altofts, Wakefieldd, West Yorshire
Posts: 363
Asherr is on a distinguished road
I like Java because with this language and we can easily create application based softwares.
__________________
eUKhost : UK Web hosting | Cloud Hosting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 07-01-2011, 07:11 AM
amkeabhi123 amkeabhi123 is offline
Senior Member
 
Join Date: Jul 2011
Posts: 111
amkeabhi123 is on a distinguished road
Send a message via Skype™ to amkeabhi123
we can create the c language the console base application whenever JAVA use in console base,window base and web applications ,java follow the oops concepts. easily reuse the code through oops concepts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11  
Old 07-04-2011, 12:56 PM
Loan2day Loan2day is offline
Member
 
Join Date: Jun 2011
Posts: 79
Loan2day is on a distinguished road
there are many this which many prove that java is always better then C first java uses an oops concepts secondly the platform independent. and like wise many things are there which makes its performance better.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 11-26-2011, 10:04 AM
paydayloan paydayloan is offline
Senior Member
 
Join Date: Nov 2011
Posts: 256
paydayloan is on a distinguished road
java is object oriented language. this language mostly use web dinging time.
__________________
payday Loans Online
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 11-28-2011, 06:57 AM
alanlawson123 alanlawson123 is offline
Member
 
Join Date: Nov 2011
Posts: 32
alanlawson123 is on a distinguished road
Because, Java is Object Oriented Programming language.So coding is divided in object or class and its easy to understand and Java is platform independent language.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 12-16-2011, 01:41 PM
Christopher Christopher is offline
Junior Member
 
Join Date: Dec 2011
Posts: 17
Christopher is on a distinguished road
Java memory is automatically managed; C++ dynamic memory is manually managed.

Java uses references for all objects, and all references to a single object are of equal importance. A Java object will not be destroyed so long as any valid reference exists. C++ uses pointer variables to allow multiple references to the primary definition of an object. If the primary definition is destroyed, any pointers to that object become invalid (and a source of program failures).

Java classes can only have named member functions as methods. C++ allows the class designer to overload operators, meaning to define what the built-in operators mean when applied to objects instead of primitive types. Classes to implement numbers or number-like entities can use + for addition, * for multiplication, etc. So, for a class Complex that implements complex numbers:
... Java: Complex w = z1.add(z2).divide(new Complex(2));
... C++: Complex w = (z1 + z2) / 2;

Java compiles (by design) for a specific machine that does not and likely never will exist in hardware. C++ compiles (by design) to machine code for the host computer and OS. As a result, C++ programs are generally significantly faster for computation tasks.

Java specifies the exact format of each primitive data type, and every implementation produces the same results for all numeric computations. C++ allows compiler implementers to choose the formats (within broad limits) that best implement computations on a particular machines. Valid C++ programs may produce different results on different machines.

Java arrays, strings and collections are bounds-checked. You can't reference memory that hasn't been allocated. C++ array indexes (using [] brackets) are not. The standard collections that allow access with the [] subscript operation are not checked either. Buffer overruns and array over and under-subscripting in C/C++ programs are the source of many, if not most, OS and application security holes.

Java has a fairly complete set of application frameworks for desktop, web, mobile and enterprise application developments. C++ has a much smaller library of functions and classes, with no standard functions for networking, file management (you can't list a directory without nonstandard additions), graphics, serial communications, printing, typography, or even mouse input.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 09-16-2012, 02:22 PM
navkesh navkesh is offline
Member
 
Join Date: Sep 2012
Posts: 35
navkesh is on a distinguished road
I would say, at this point, it depends on your platform. If you're okay with MS and their products (many people have religious-like zeal against anything the corporation is so much as loosely affiliated with) and plan to run on a windows platform, then I'd say you'd be hard pressed to go wrong with C#. It has VB's renouned forms for increadibly easy interface creation, and really looks a lot like java at the code-level. It is a fully-functional and featured language, and once you get the hang of the Visual Studio IDE, you can have very rapid development quite easily.

On the flip side, java is ported everywhere, will run on any system. Characters are always two bytes to insure that it supports any language's character set. It's been around longer and is more mature. As for the internet, JavaScript is an easy pick-up and a must for almost all client-side activity. Applets and Servlets are at your disposal, as well. They support XML web services, too, but it's more costly licensing for a company (I think, really not very sure).

If you get to know one language, you will have absolutely no problem picking up the other. I'd say it really boils down to platform. If you need stuff to run in something other than windows, stick with java. The open C# compiler (mono?) has been mentioned, but if you're developing a significant portion in *nix, forget C# for now. Language maturity can be worked with, but couple that with compiler maturity issues, too, and it's likely to get hairy.

I should also mention that I've only loosely worked with both languages and am as far from an authority as could be. I've done background research on the two in the last six months, but haven't spent more than a few weeks programming in either. I'm a man of C/C++/Perl (especially that last one).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16  
Old 10-06-2012, 03:42 AM
Boby Smith Boby Smith is offline
Senior Member
 
Join Date: Dec 2011
Location: Ahmedabad(India)
Posts: 125
Boby Smith is on a distinguished road
I think java is designed in c.but its much batter than c.because java supports all the features of object orient.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17  
Old 12-11-2012, 07:43 AM
preetharman preetharman is offline
Junior Member
 
Join Date: Dec 2012
Posts: 10
preetharman is on a distinguished road
Java is not complex language as c and c++.
It is totally object oriented language.
In this classes and objects are used.
The main feature of java language is, many mobile based applications are created in the java language.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 03:52 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0
© 2004-2011 AffiliateSeeking. All rights reserved.