Java Programming by Example
Java is a general-purpose computer-programming language that is Simple, Object-Oriented , Portable, Platform independent and Architecture neutral. Learning any computer language for the first time is not an easy task , because computer programming requires a way of thinking that doesn't come naturally for a lot of people. So, to become an expert programmer takes years, regardless of the programming language . If you are a beginner, you should start from the basic of java . Day by day go through deep and tough problem and solve real-life problems.
If you already know any language then learning java is not a big deal. Java is a relatively high-level language, this means that you don't have to dive deep into the weeds as you do with other lower-level languages . Once you learn the basic of Java syntax and know how to write programs, you will be comfortable writing small programs . If you're a beginner, start writing programs for simple problems like palindrome, prime numbers, leap year etc. and then you can proceed to significant issues like binary search tree , etc. The best way to learn Java or any language is to start at a beginner's level. The "Hello World" program is a good place to start — basically all programming languages use this idea to illustrate the central syntax of a language .
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!!!");
}
}
output
Hello, World!!!
Related Topics