Java- my first programming language

Java- my first programming language

·

2 min read

Hello everyone, welcome to another article of Sai Ansul's blog. Today I'll be talking about the programming language I recently learned, Java .

The first thing I learnt was the OOPs concept

  • Abstraction
    Its the act of representation of the features without knowing about the background.
  • Encapsulation
    Its the system that wraps the data and function into a single unit.
  • Inheritance
    Its the process of inheriting the properties of an existing class to other class.
  • Polymorphism
    Its the ability of representing an object in a more than one form.

Then I got to know what is the difference between interpreter and compiler, what is programming and its need, operators, separators, data types ,variable, modularity, JVM, features of java, object and class.

Then I started to learn about simple programming with print and println .

public class Sample
{
 public static void main (String args[])
{
System.out.print("Hi, my name is ");
System.out.print("Konchada Sai Ansul");
}
}
output

Hi, my name is Konchada Sai Ansul

The above one is the example of the print program.

public class Sample
{
 public static void main (String args[])
{
System.out.println("I'm Konchada Sai Ansul. ");
System.out.println("I'm a technical blogger at hashnode.");
}
}
output

I'm Konchada Sai Ansul. 
I'm a technical blogger at hashnode.

The above one is the example of the println program.

This was how I learned Java recently. his was it for today guys. Do comment which game you liked the most.

Stay tuned for some more interesting blogs coming up soon.

If you like my content and want to support my efforts please like👍🏻, share📲 & subscribe to the newsletter to be get notified whenever I post a new blog.