Hello Guys Welcome to the world of Java! Java is one of the most popular programming languages in the world and is known for its versatility and ease of use. Whether you are interested in developing web applications, changeful applications, or endeavor solutions,' Java is here to help.
ہیلو دوست جاوا کی دنیا میں خوش آمدید! جاوا دنیا کی مقبول ترین پروگرامنگ زبانوں میں سے ایک ہے اور اپنی استعداد اور استعمال میں آسانی کے لیے جانی جاتی ہے۔ چاہے آپ ویب ایپلیکیشنز تیار کرنے میں دلچسپی رکھتے ہوں، تبدیلی کی ایپلی کیشنز، یا حل کی کوشش کریں،' جاوا مدد کے لیے حاضر ہے۔
we explored the rudiments of Java programming and guide you through the first steps of your coding journey.
ہم نے جاوا پروگرامنگ کے ابتدائی پہلوؤں کو دریافت کیا اور آپ کے کوڈنگ سفر کے پہلے مراحل میں آپ کی رہنمائی کی۔
What is Java?
Java is an object-oriented programming terminology developed by Sun Microsystems in the mid-1990s.
Java کیا ہے؟
Java ایک آبجیکٹ پر مبنی پروگرامنگ اصطلاحات ہے جسے سن 1990 کی دہائی کے وسط میں سن مائیکرو سسٹم نے تیار کیا تھا۔
It was designed to be choline independent,' meaning that Java programs can run on any gimmick that has a Java Virtual Machine JVM . This wrote once, run anywhere ism makes Java common among developers.
یہ کولین آزاد ہونے کے لیے ڈیزائن کیا گیا تھا، یعنی جاوا پروگرام کسی بھی چال پر چل سکتے ہیں جس میں جاوا ورچوئل مشین JVM ہو۔ اس نے ایک بار لکھا، کہیں بھی چلائیں ism جاوا کو ڈویلپرز میں عام بنا دیتا ہے۔
Why learn Java?
Widespread use; Java powers millions of applications, from changeful applications to large endeavor systems. Strong Community Support; A large developer heretical makes it easy to find resources and help.
Job opportunities; Knowledge of Java is in high regard in single industries. Rich API; Java comes with an all-encompassing set of libraries that simplify development.
جاوا کیوں سیکھیں؟
وسیع پیمانے پر استعمال؛ جاوا لاکھوں ایپلیکیشنز کو طاقت دیتا ہے، تبدیلی کی ایپلی کیشنز سے لے کر بڑے اینڈیور سسٹم تک۔ مضبوط کمیونٹی سپورٹ؛ ایک بڑا ڈویلپر غیرت مندانہ وسائل اور مدد تلاش کرنا آسان بناتا ہے۔
ملازمت کے مواقع؛ واحد صنعتوں میں جاوا کا علم بہت زیادہ اہمیت کا حامل ہے۔ امیر API؛ جاوا لائبریریوں کے ایک مکمل سیٹ کے ساتھ آتا ہے جو ترقی کو آسان بناتا ہے۔
We are getting started
- Setting up your environs To start programming in Java,' you need to set up a growing environment; Download JDK; Visit the Oracle JDK situation to download the Java Development Kit JDK.
Install an IDE; Integrated growing environments IDEA like Eclipse or IntelliJ IDEA make coding easy with features like code culmination and debugging tools.
ہم شروع کر رہے ہیں۔
- اپنے ماحول کو ترتیب دینا جاوا میں پروگرامنگ شروع کرنے کے لیے،' آپ کو بڑھتے ہوئے ماحول کو ترتیب دینے کی ضرورت ہے۔ JDK ڈاؤن لوڈ کریں؛ جاوا ڈویلپمنٹ کٹ JDK ڈاؤن لوڈ کرنے کے لیے اوریکل JDK کی صورتحال دیکھیں۔
ایک IDE انسٹال کریں؛ انٹیگریٹڈ بڑھتے ہوئے ماحول IDEA جیسے Eclipse یا IntelliJ IDEA کوڈ کلیمینیشن اور ڈیبگنگ ٹولز جیسی خصوصیات کے ساتھ کوڈنگ کو آسان بناتے ہیں۔
2.Writing your first programs Let's write a primary Java program that prints Hello, World! to the console
- اپنے پہلے پروگرام لکھنا
آئیے ایک پرائمری جاوا پروگرام لکھتے ہیں جو پرنٹ کرتا ہے Hello, World! کنسول پر
- Compile and run your programs Save the code in a file called HelloWorld.java.
Open a control propel and navigated to the directory where you saved the file.
- اپنے پروگراموں کو مرتب اور چلائیں کوڈ کو HelloWorld.java نامی فائل میں محفوظ کریں۔
ایک کنٹرول پروپیل کھولیں اور اس ڈائریکٹری میں جائیں جہاں آپ نے فائل کو محفوظ کیا تھا۔
- You should have seen Hello, world! Printed in the console!
آپ کو ہیلو، دنیا دیکھنا چاہیے تھا! کنسول میں چھپی ہوئی!
Understanding the rudiments of Java Variables and Data Types In Java, variables were used to store data. Each changeful has a type that defines the type of data it could contain
جاوا متغیرات اور ڈیٹا کی اقسام کے بنیادی اصولوں کو سمجھنا جاوا میں، متغیرات کو ڈیٹا ذخیرہ کرنے کے لیے استعمال کیا جاتا تھا۔
ہر تبدیلی کی ایک قسم ہوتی ہے جو اس ڈیٹا کی قسم کی وضاحت کرتی ہے جو اس پر مشتمل ہو سکتی ہے۔
int: for integers
double: for floating-point numbers
boolean: for true/false values
String: for text
Control structures Java uses check structures to ordering programs flow. The most normal are;
If statements; For provisional execution.
کنٹرول ڈھانچے جاوا پروگراموں کے بہاؤ کو ترتیب دینے کے لیے چیک ڈھانچے کا استعمال کرتا ہے۔ سب سے زیادہ عام ہیں؛ اگر بیانات؛ عارضی عملدرآمد کے لیے۔
Loops; For repeated execution.
لوپس؛ بار بار پھانسی کے لئے.
Object Oriented Programming OOP Java is an object-oriented language as well as ' which means that it uses objects to hold data and methods to read that data. Key concepts include; Classes and Objects;
A class is a pattern for creating objects.
آبجیکٹ اورینٹڈ پروگرامنگ او او پی جاوا ایک آبجیکٹ اورینٹڈ لینگویج ہے اور ساتھ ہی ' جس کا مطلب ہے کہ یہ ڈیٹا رکھنے کے لیے آبجیکٹ اور اس ڈیٹا کو پڑھنے کے طریقے استعمال کرتا ہے۔ کلیدی تصورات میں شامل ہیں؛ کلاسز اور آبجیکٹ؛
کلاس اشیاء بنانے کا ایک نمونہ ہے۔
Its some basic information about java sorry for grammar mistake and translation mistake e translate through google source: google translate
see in a next part :)