Programming Language

Programming Language - What Programming Language you use?
Philippines
July 16, 2007 3:37pm CST
Are you a programmer? What programming language do you usually use? What are the advantage and disadvantage of that language? I am using java and visual basic, java is a cool programmming language but a little harder when it comes to interfaces and things that involve graphics while on the other hand, the visual basic, it is my favorite programming language ta the same time editor since you just copy and paste the buttons, labels and some other elements of a GUI. Besides, it is an easy coded language unlike java, C++, C and other stuff. How about you? Can you share your knowledge about some other programming languages? How does it work?
1 response
• Philippines
17 Jul 07
a little bit of c++ and visual basic also.. hehe.. I'm not yet expert on it.. I still study that programming language.. I like to study Java?.. in our school we dont study that yet. But i want to learn java.. Can you help me?... thank you.. ^_
• Philippines
17 Jul 07
Sure, in java you need to have import like import java.io.*;, java.lang.*; java.util.*;, the import is a package of code you need to use on your program, it is like a bag that is full of things you can use. In making a java program you have to declare a class which is the same name of your program file name. Example the file name is myFirstProgram.java: //making an import import java.lang.*; //making a class public class myFirstProgram { //them the whole program here. . . . As you observe I am using "public class" which means "to all" in other words it is accessable to all program then an open bracket to start your statements and expressions. Then after declaring a class you need make a main method which is necessary in all programs of java. public static void main(String[] args) { this means your program is a static intended to one program and has no return value because of void. . .this a method in java that is first to execute. then to display the output text you need to use: System.out.print("Hallo to all"); in C it is equivalent to printf("Hallo to all"); System.out.print(); can be found in java.lang.*; package. to sum up all the program: import java.lang.*; public class myFirstProgram { public static void main(String[] args) { System.out.print("Hallo to all"); } } output: Hallo to all