Well C and Java are entirely different languages though java inherits its syntax from C.
C is a function oriented language where program revolves around functions.
Java is an object oriented language and revolves around objects + messages.
So there are no classes and packages in C language because a class represents an object and a package is a set of related objects where we put related classes into a package. So C don't have anything like classes and packages.
Hope it clears your basic concept.
regards
saif ullah
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment