My Tricks Corner |
Basic Things Involved In Java Programming Language. Posted: 12 Oct 2014 10:08 AM PDT Java is an object oriented ,platform independent ,multi-threaded programming environment initiated by James Gosling.It is the foundation for Web and networked services,applications,platform independent desktops,robotics and other embedded devices.Java is being used in almost every computer development project.So taking this to serious today ,i have decided to write about the basic concepts of Java Programming.So now without wasting much more time,lets grab some knowledge about Java programming language.Java has three main Technology values that are :- A Richer User Experience : The Java Platform provides the foundation of mobility.The unique blend of mobility and security in Java technology makes it the ideal development and deployed vehicle for mobile and wireless solutions. The Ideal Execution Environment For Web Services : The Java and XML languages are the two most extensible and widely accepted computing languages,providing maximum reach to everyone,everywhere,every time,right time and to every device and platform. Enabling Business From Bottom To Top : Java technology offers a single ,unifying programming model that can connect all elements of a business infrastructure. Basic Goals In Creation Of Java Language :-
All The programs that are written in Java language are firstly compiled into class file that contains byte codes,the machine language of the JVM(Java Virtual machine).Java is supported by multiple hardware and operating systems that means that it can be used on any device.Yeah,It gives us the possibility to write program once ,compile it once and then run it anywhere.Well, you need to know that this is done by compiling the Java language code ,not to machine code but to Java's Own byte-code that is interpreted by a Java Virtual machine written for the host hardware. Now you might be thinking that what is JVM. Well, to define it we can say that it is a machine that interprets Java byte-code for a computer's processor so that it can perform a Java program's instructions. As stated earlier Java is built so that it can allow application programs tto run on any platform without thing to be rewritten or recompiled by the programmer for each separate platform.Well, JVM (Java Virtual Machine) makes this possible because it is aware of the specific instruction lengths and other particularities of the platform. Types Of Java ApplicationsWell,To evaluate Java has two types of applications : Internet Based Applications:This type of application run on internet on your web browser when you surf internet.There are many internet based applications. Stand Alone Applications:This is a stand alone application that can run on any platform.Yeah,Java is platform independent. What is BlueJ ?Java is somewhat difficult to use.But by using BlueJ it is made kinda easy.It is an integrated Java environment specifically designed for introductory teaching.It was founded at a university specially for the purpose of object orientation Java programming language.BlueJ is very useful tool for us.It has the following features :- It Supports :-
|
Basic Terms Related With Computer Programming Languages. Posted: 12 Oct 2014 10:07 AM PDT Over many years computer programming and computer languages have been continuously evolving according to the applications to be supported and liked the computer users.We have different approaches like Procedural approach,Structured Approach and Modular approach in computer programming language.The latest approach is the Object Oriented Approach! Now, with this enhancement in computer languages ,it is very important for us to know about these languages .Not more but the basic things should be learnt by us.So today , I am going to post the basic things involved in computer programming languages.I am posting the basic things as simple questions with answers so that you can understand easily.So now without wasting much more time,lets check these basic concepts. What is an Object ? An object is an entity which can be identified with some characteristics and behaviour . What Is Data Abstraction ? Abstraction is the process of hiding the details and representing only the essential features of an object that are relevant to the particular application. What Is Encapsulation ? Encapsulation is the mechanism that binds together code and data it manipulates. What is an Object ? Explain with an example. An object is an entity which can be identified with some characteristics and behaviour . For example a Pen object can have characteristics ink colour , type [ ink pen, ball pen , sketch pen etc ], Brand and its behaviour is writing. What attributes does an object have ? An object has the attributes State and Behaviour. What is encapsulation ? Explain with an example. Encapsulation is the mechanism that binds together code and the data it manipulates and keeps both safe from outside interference and misuse.For example , the variables and the related methods grouped together in a class. What are Methods ? The functions through which the data in the object is accessed are known as methods. They represent the behaviour of the object. For example , dogs behaviour can be represented by methods bark() and wagTail(). How is the state of an object defined in software form ? In the software form, the objects are implemented through variables and member variables. the values of these member variables define the state of that object. How is the behaviour of an object defined ? The behaviour of an object is defined through its methods or member functions. How do objects interact ? Objects interact with each other through messages. This message passing happens through the functions calls. How are the state of an Object and its behaviour related to each other ? The state of an object control its behaviour and the behaviour of an object can bring change in its state. What is data hiding ? Data hiding refers to the ability in accessing the data associated with an object only through the member methods of the object and not by outside entity. How are objects implemented in software terms ? In software , objects are implemented as below:: 1. A unique name is given to identify it uniquely. 2. Characteristics or attributes are implemented through member variables . 3.Behaviour is implemented through member functions. How are data abstraction and encapsulation related to each other ? Encapsulation is the way of implementing abstraction. Data abstraction involves representation of the only required features without details , whereas data encapsulation is the art of wrapping up the data and the associated functions with an entity , under a single unit. Data abstraction is the basis for data encapsulation. What is an object factory? An object factory is a generator of objects. Explain the relationship between Classes and Objects. A class is a blueprint for a software object.Objects are instances of classes. How is an abstraction represented in software? In software,a class represents abstraction of real world entity.A class is a wrapper for the attributes and behaviour of similar kind of entities. This was all about the basic things evolved in computer programming.If you guys have any doubt about the basic concepts,comment and ask.I would be glad to solve your issues. |
You are subscribed to email updates from My Tricks Corner To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
Không có nhận xét nào:
Đăng nhận xét