Creating and using Variables | Java Programming Video Tutorial

  Рет қаралды 40,136

LearningLad

LearningLad

Күн бұрын

This video tutorial explains how to create and use variable in java programming language with example for beginners.
You will learn the syntax of creating variables in different ways, how to create integer ( including byte,short,int,long types ), floating point ( including float,double ),character i.e char, Boolean variable and also how to access them in detail with example.
Get the source code of this tutorial at our website
www.LearningLad...
Watch Video tutorials in HINDI at
/ learningladhindi
Catch us on SocialMedia
facebook / learninglad
twitter / learningladedu
Google+ www.google.com/...

Пікірлер: 17
@greendatacenterltd2492
@greendatacenterltd2492 8 жыл бұрын
Thanks.....bro
@mohammadbilal5316
@mohammadbilal5316 8 жыл бұрын
sir do we not need any string data type in java? and plus i dont even notice a library written at the top of these written codes .. i.e #include like we used them in c++ or c... i'm sorry if I sound foolish though..
@LearningLad
@LearningLad 8 жыл бұрын
+mohammad bilal if u wanna learn about strings in java, checkout kzbin.info/www/bejne/goTbmZJprpKJmdE and yes, in java there are no header files like we need to use in c++ :)
@prasanthreddy7638
@prasanthreddy7638 7 жыл бұрын
You have declared age and marks and printed them by using two statements. Can't we print their values by using one statement and also in the same line ?
@LearningLad
@LearningLad 7 жыл бұрын
of course we can print them using one statement and in one line
@prasanthreddy7638
@prasanthreddy7638 7 жыл бұрын
How to do it?
@LearningLad
@LearningLad 7 жыл бұрын
i dont have the source code of this tutorial now but just to give an example int x=10; int y=25; int z=30; System.out.println("x = "+x+" y = "+y+" z = "+z);
@Enrique-pi1nh
@Enrique-pi1nh 8 жыл бұрын
hi. quick question. when do we use float and when do we use double? I tried using float for the value 58.4 and it didnt work. When i changed it to double, it worked. Please help! Thank you
@gojic1
@gojic1 8 жыл бұрын
Here you might find the answer stackoverflow.com/questions/27598078/float-and-double-datatype-in-java
@jashandeepsingh9028
@jashandeepsingh9028 8 жыл бұрын
which screen recorder r u using
@Kumar-li7bo
@Kumar-li7bo 7 жыл бұрын
What is your web blog?
@LearningLad
@LearningLad 7 жыл бұрын
visit learninglad.com
@ayushman_sr
@ayushman_sr 7 жыл бұрын
can we use 0 and 1 for boolean
@LearningLad
@LearningLad 7 жыл бұрын
in java Boolean is a completely separate datatype which can have values true or false. The values 1 and 0 are of type int and are not implicitly convertible to boolean.
@tengentopka727
@tengentopka727 6 жыл бұрын
how to construct and assign string variables.
@LearningLad
@LearningLad 6 жыл бұрын
explained in the later video's :)
@inayatkhan4214
@inayatkhan4214 4 жыл бұрын
talk to hindi
Basic and Compound Arithmetic Operators  | Java Video Tutorial
9:41
Creating, Using Methods in Java Programming Video Tutorial
13:20
LearningLad
Рет қаралды 19 М.
WORLD BEST MAGIC SECRETS
00:50
MasomkaMagic
Рет қаралды 32 МЛН
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 79 МЛН
Java Methods with Variable Number of Parameters Video Tutorial
12:42
Increment and Decrement Operators | Java Programming Tutorial
10:44
LinkedList vs ArrayList in Java Tutorial - Which Should You Use?
11:43
Coding with John
Рет қаралды 590 М.
Static vs Non-Static Variables and Methods In Java - Full Simple Tutorial
11:29
Python Decorators in 15 Minutes
15:14
Kite
Рет қаралды 441 М.
Map and HashMap in Java - Full Tutorial
10:10
Coding with John
Рет қаралды 571 М.
Learn Java in 14 Minutes (seriously)
14:00
Alex Lee
Рет қаралды 4,7 МЛН